Author: kremenek
Date: Fri Mar 20 18:45:36 2009
New Revision: 67419

URL: http://llvm.org/viewvc/llvm-project?rev=67419&view=rev
Log:
Fix include-pth.c test case to (hopefully) more resilient to where and how tests
are executed.

Modified:
    cfe/trunk/test/Preprocessor/include-pth.c

Modified: cfe/trunk/test/Preprocessor/include-pth.c
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Preprocessor/include-pth.c?rev=67419&r1=67418&r2=67419&view=diff

==============================================================================
--- cfe/trunk/test/Preprocessor/include-pth.c (original)
+++ cfe/trunk/test/Preprocessor/include-pth.c Fri Mar 20 18:45:36 2009
@@ -1 +1,2 @@
-// RUN: clang -x c-header file_to_include.h -o %t && clang -include-pth %t %s 
-E | grep 'file_to_include'
+// RUN: clang -x c-header %s -o %t && clang -include-pth %t %s -E | grep 
'file_to_include' | count 2
+#include "file_to_include.h"


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

Reply via email to