[cfe-commits] r67419 - /cfe/trunk/test/Preprocessor/include-pth.c
Ted Kremenek
kremenek at apple.com
Fri Mar 20 16:45:36 PDT 2009
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"
More information about the cfe-commits
mailing list