[test] Disable test/Index/pch-from-libclang.c for non-darwin systems.

llvm-svn: 296267
This commit is contained in:
Argyrios Kyrtzidis 2017-02-25 19:17:11 +00:00
parent 4a20711826
commit f70ab5bf6b
1 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,8 @@
// Check that clang can use a PCH created from libclang.
// FIXME: Non-darwin bots fail. Would need investigation using -module-file-info to see what is the difference in modules generated from libclang vs the compiler invocation, in those systems.
// REQUIRES: system-darwin
// RUN: c-index-test -write-pch %t.h.pch %s -fmodules -fmodules-cache-path=%t.mcp -Xclang -triple -Xclang x86_64-apple-darwin
// RUN: %clang -fsyntax-only -include %t.h %s -Xclang -verify -fmodules -fmodules-cache-path=%t.mcp -Xclang -detailed-preprocessing-record -Xclang -triple -Xclang x86_64-apple-darwin