summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-03-20 23:45:36 +0000
committerTed Kremenek <kremenek@apple.com>2009-03-20 23:45:36 +0000
commit8b2c1cd5a26827d8c685c2863ed59bcd036faa9e (patch)
tree90e69d8a2f65ff094a8563f9fbfb88c1ff88d06d /clang
parentea9f032613bceee3ac04710ee0088352cf5dbaea (diff)
downloadbcm5719-llvm-8b2c1cd5a26827d8c685c2863ed59bcd036faa9e.tar.gz
bcm5719-llvm-8b2c1cd5a26827d8c685c2863ed59bcd036faa9e.zip
Fix include-pth.c test case to (hopefully) more resilient to where and how tests
are executed. llvm-svn: 67419
Diffstat (limited to 'clang')
-rw-r--r--clang/test/Preprocessor/include-pth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/Preprocessor/include-pth.c b/clang/test/Preprocessor/include-pth.c
index d42550bfcce..64b46eb15ec 100644
--- a/clang/test/Preprocessor/include-pth.c
+++ b/clang/test/Preprocessor/include-pth.c
@@ -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"
OpenPOWER on IntegriCloud