From: Douglas Gregor Date: Tue, 28 Apr 2009 22:43:20 +0000 (+0000) Subject: Force driver's PTH test to use PTH X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4b0459675c031a473b0501135c1b873ad65b1e9d;p=clang Force driver's PTH test to use PTH git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70338 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/pth.c b/test/Driver/pth.c index f84b2a25f1..748053809a 100644 --- a/test/Driver/pth.c +++ b/test/Driver/pth.c @@ -1,8 +1,8 @@ // Test transparent PTH support. -// RUN: clang -x c-header %s -o %t.h.pch -### 2> %t.log && -// RUN: grep '".*/clang-cc" .* "-o" ".*\.h\.pch" "-x" "c-header" ".*pth\.c"' %t.log && +// RUN: clang -ccc-pch-is-pth -x c-header %s -o %t.h.pth -### 2> %t.log && +// RUN: grep '".*/clang-cc" .* "-o" ".*\.h\.pth" "-x" "c-header" ".*pth\.c"' %t.log && // RUN: touch %t.h.pth && -// RUN: clang -E -include %t.h %s -### 2> %t.log && +// RUN: clang -ccc-pch-is-pth -E -include %t.h %s -### 2> %t.log && // RUN: grep '".*/clang-cc" .*"-include-pth" ".*\.h\.pth" .*"-x" "c" ".*pth\.c"' %t.log