]> granicus.if.org Git - clang/commitdiff
[test] Add target to test/Index/pch-from-libclang.c.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sat, 25 Feb 2017 18:35:53 +0000 (18:35 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sat, 25 Feb 2017 18:35:53 +0000 (18:35 +0000)
Attempt to fix the failing bots.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@296263 91177308-0d34-0410-b5e6-96231b3b80d8

test/Index/pch-from-libclang.c

index e1bbe7cbd12d7a8f5e9dabf4431335b5c14bcc68..84d298e1df5bc45dd58ccf95ffbeb9a69d395a73 100644 (file)
@@ -1,6 +1,6 @@
 // Check that clang can use a PCH created from libclang.
-// RUN: c-index-test -write-pch %t.h.pch %s -fmodules -fmodules-cache-path=%t.mcp
-// RUN: %clang -fsyntax-only -include %t.h %s -Xclang -verify -fmodules -fmodules-cache-path=%t.mcp -Xclang -detailed-preprocessing-record
+// RUN: c-index-test -write-pch %t.h.pch %s -fmodules -fmodules-cache-path=%t.mcp -target x86_64-apple-darwin
+// RUN: %clang -fsyntax-only -include %t.h %s -Xclang -verify -fmodules -fmodules-cache-path=%t.mcp -Xclang -detailed-preprocessing-record -target x86_64-apple-darwin
 
 // expected-no-diagnostics