r296263 - [test] Add target to test/Index/pch-from-libclang.c.

Argyrios Kyrtzidis via cfe-commits cfe-commits at lists.llvm.org
Sat Feb 25 10:35:54 PST 2017


Author: akirtzidis
Date: Sat Feb 25 12:35:53 2017
New Revision: 296263

URL: http://llvm.org/viewvc/llvm-project?rev=296263&view=rev
Log:
[test] Add target to test/Index/pch-from-libclang.c.

Attempt to fix the failing bots.

Modified:
    cfe/trunk/test/Index/pch-from-libclang.c

Modified: cfe/trunk/test/Index/pch-from-libclang.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Index/pch-from-libclang.c?rev=296263&r1=296262&r2=296263&view=diff
==============================================================================
--- cfe/trunk/test/Index/pch-from-libclang.c (original)
+++ cfe/trunk/test/Index/pch-from-libclang.c Sat Feb 25 12:35:53 2017
@@ -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
 




More information about the cfe-commits mailing list