diff options
author | Alexandre Ganea <alexandre.ganea@ubisoft.com> | 2019-05-10 20:11:36 +0000 |
---|---|---|
committer | Alexandre Ganea <alexandre.ganea@ubisoft.com> | 2019-05-10 20:11:36 +0000 |
commit | 904a3e51839d725cfe8527fedfad85398e0b02aa (patch) | |
tree | e4809c70b533ba48b1b924bbda1c121fa8110ccd /clang/test/Preprocessor/macro_rparen_scan.c | |
parent | 37b80122bd1225eb8889d42b4fd5d7d383a329e7 (diff) | |
download | bcm5719-llvm-904a3e51839d725cfe8527fedfad85398e0b02aa.tar.gz bcm5719-llvm-904a3e51839d725cfe8527fedfad85398e0b02aa.zip |
Fixed tests where grep was not matching the linefeed
When files are synchronized locally as CRLF on Windows, grep didn't match the newline. Switched to FileCheck instead.
Differential Revision: https://reviews.llvm.org/D61496
llvm-svn: 360467
Diffstat (limited to 'clang/test/Preprocessor/macro_rparen_scan.c')
-rw-r--r-- | clang/test/Preprocessor/macro_rparen_scan.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/Preprocessor/macro_rparen_scan.c b/clang/test/Preprocessor/macro_rparen_scan.c index e4de5dbcef0..7dfa98e4a88 100644 --- a/clang/test/Preprocessor/macro_rparen_scan.c +++ b/clang/test/Preprocessor/macro_rparen_scan.c @@ -1,4 +1,5 @@ -// RUN: %clang_cc1 -E %s | grep '^3 ;$' +// RUN: %clang_cc1 -E %s | FileCheck %s --match-full-lines --strict-whitespace +// CHECK:3 ; /* Right paren scanning, hard case. Should expand to 3. */ #define i(x) 3 |