[cfe-commits] r70338 - /cfe/trunk/test/Driver/pth.c

Douglas Gregor dgregor at apple.com
Tue Apr 28 15:43:20 PDT 2009


Author: dgregor
Date: Tue Apr 28 17:43:20 2009
New Revision: 70338

URL: http://llvm.org/viewvc/llvm-project?rev=70338&view=rev
Log:
Force driver's PTH test to use PTH

Modified:
    cfe/trunk/test/Driver/pth.c

Modified: cfe/trunk/test/Driver/pth.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/pth.c?rev=70338&r1=70337&r2=70338&view=diff

==============================================================================
--- cfe/trunk/test/Driver/pth.c (original)
+++ cfe/trunk/test/Driver/pth.c Tue Apr 28 17:43:20 2009
@@ -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





More information about the cfe-commits mailing list