diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-07-04 15:22:16 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-07-04 15:22:16 +0000 |
commit | be8a91b771dfd0cc63f24a417c618f6df6464051 (patch) | |
tree | 9d9e5765c127ad03fc8eb8acc80452aef7132237 /clang/test/Driver/Xarch.c | |
parent | 0cf7c9384954a51c2902a061c6c2dec0aec7f3b5 (diff) | |
download | bcm5719-llvm-be8a91b771dfd0cc63f24a417c618f6df6464051.tar.gz bcm5719-llvm-be8a91b771dfd0cc63f24a417c618f6df6464051.zip |
Replace 'grep foo | count 0' with 'not grep foo'.
This avoids depending on pipefail not being used.
llvm-svn: 185648
Diffstat (limited to 'clang/test/Driver/Xarch.c')
-rw-r--r-- | clang/test/Driver/Xarch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Driver/Xarch.c b/clang/test/Driver/Xarch.c index 2523f5acac0..34f9340dd68 100644 --- a/clang/test/Driver/Xarch.c +++ b/clang/test/Driver/Xarch.c @@ -1,7 +1,7 @@ // RUN: %clang -target i386-apple-darwin9 -m32 -Xarch_i386 -O2 %s -S -### 2> %t.log // RUN: grep ' "-O2" ' %t.log | count 1 // RUN: %clang -target i386-apple-darwin9 -m64 -Xarch_i386 -O2 %s -S -### 2> %t.log -// RUN: grep ' "-O2" ' %t.log | count 0 +// RUN: not grep ' "-O2" ' %t.log // RUN: grep "argument unused during compilation: '-Xarch_i386 -O2'" %t.log // RUN: not %clang -target i386-apple-darwin9 -m32 -Xarch_i386 -o -Xarch_i386 -S %s -S -Xarch_i386 -o 2> %t.log // RUN: grep "error: invalid Xarch argument: '-Xarch_i386 -o'" %t.log | count 2 |