diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-03-20 23:45:36 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-03-20 23:45:36 +0000 |
commit | 8b2c1cd5a26827d8c685c2863ed59bcd036faa9e (patch) | |
tree | 90e69d8a2f65ff094a8563f9fbfb88c1ff88d06d /clang | |
parent | ea9f032613bceee3ac04710ee0088352cf5dbaea (diff) | |
download | bcm5719-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.c | 3 |
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" |