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


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to