From: Argyrios Kyrtzidis Date: Sat, 25 Feb 2017 18:35:53 +0000 (+0000) Subject: [test] Add target to test/Index/pch-from-libclang.c. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e6d5c0d623522c1f837845422998f5534cf6a8ec;p=clang [test] Add target to test/Index/pch-from-libclang.c. Attempt to fix the failing bots. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@296263 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Index/pch-from-libclang.c b/test/Index/pch-from-libclang.c index e1bbe7cbd1..84d298e1df 100644 --- a/test/Index/pch-from-libclang.c +++ b/test/Index/pch-from-libclang.c @@ -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