diff options
-rw-r--r-- | clang/test/Preprocessor/ifdef-recover.c | 2 | ||||
-rw-r--r-- | clang/test/Preprocessor/includeexpand.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Preprocessor/ifdef-recover.c b/clang/test/Preprocessor/ifdef-recover.c index bd1d507bbc4..7fad8c20bd4 100644 --- a/clang/test/Preprocessor/ifdef-recover.c +++ b/clang/test/Preprocessor/ifdef-recover.c @@ -1,4 +1,4 @@ -/* RUN: clang %s 2>&1 | grep error: | count 3 +/* RUN: clang -E %s 2>&1 >/dev/null | grep error: | count 3 */ #ifdef diff --git a/clang/test/Preprocessor/includeexpand.c b/clang/test/Preprocessor/includeexpand.c index 33637952b79..89696c470cc 100644 --- a/clang/test/Preprocessor/includeexpand.c +++ b/clang/test/Preprocessor/includeexpand.c @@ -1,4 +1,4 @@ -// RUN: clang %s -fno-caret-diagnostics 2>&1 | grep 'file successfully included' | wc -l | grep 3 +// RUN: clang -E %s -fno-caret-diagnostics 2>&1 >/dev/null | grep 'file successfully included' | count 3 // XX expands to nothing. #define XX |