aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-04-28 22:43:20 +0000
committerDouglas Gregor <dgregor@apple.com>2009-04-28 22:43:20 +0000
commit4b0459675c031a473b0501135c1b873ad65b1e9d (patch)
tree64f3cbc6af9a247cb5e15708ec2e06caaa6c5188
parent770dbf04b4e56a2aa0901b7515318cf9e59adf2a (diff)
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
-rw-r--r--test/Driver/pth.c6
1 files changed, 3 insertions, 3 deletions
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