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 | 01c499db507eb8318c2bb377581aefe5e91ee670 (patch) | |
tree | b016c00b2ad86bddd668f9fab11c45cc63a9ec65 | |
parent | e33bea4ef34598e7a4a6a3a117392268998552d4 (diff) |
Fix include-pth.c test case to (hopefully) more resilient to where and how tests
are executed.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67419 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Preprocessor/include-pth.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Preprocessor/include-pth.c b/test/Preprocessor/include-pth.c index d42550bfcc..64b46eb15e 100644 --- a/test/Preprocessor/include-pth.c +++ b/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" |