]> granicus.if.org Git - clang/commitdiff
[test] Use cc1 -triple for test/Index/pch-from-libclang.c.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sat, 25 Feb 2017 18:55:32 +0000 (18:55 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sat, 25 Feb 2017 18:55:32 +0000 (18:55 +0000)
Note quite sure why driver -target has no effect.

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

test/Index/pch-from-libclang.c

index 84d298e1df5bc45dd58ccf95ffbeb9a69d395a73..c944cd69c02946f28f0bd990a15b252613028ad8 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 -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
+// 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
 
 // expected-no-diagnostics