summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-05-19 22:56:13 +0000
committerAlp Toker <alp@nuanti.com>2014-05-19 22:56:13 +0000
commit97b084f52859cc07b1e8c28357dac7f5bbb00dd0 (patch)
tree40b401d30aa4f17cf88083d1463bd782f037bd6e /clang/test
parent0a3b8f5507060664c15e654a49d7317b98aa3043 (diff)
downloadbcm5719-llvm-97b084f52859cc07b1e8c28357dac7f5bbb00dd0.tar.gz
bcm5719-llvm-97b084f52859cc07b1e8c28357dac7f5bbb00dd0.zip
Improve test verification from r209172
llvm-svn: 209175
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/ARCMT/GC-check-warn-nsalloc.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/ARCMT/GC-check-warn-nsalloc.m b/clang/test/ARCMT/GC-check-warn-nsalloc.m
index ec3cd0ce334..19a8d3dc5f7 100644
--- a/clang/test/ARCMT/GC-check-warn-nsalloc.m
+++ b/clang/test/ARCMT/GC-check-warn-nsalloc.m
@@ -1,6 +1,6 @@
-// RUN: %clang_cc1 -arcmt-check -no-ns-alloc-error -triple x86_64-apple-darwin10 -fobjc-gc-only %s | not grep warning
+// RUN: %clang_cc1 -arcmt-check -Werror -no-ns-alloc-error -triple x86_64-apple-darwin10 -fobjc-gc-only %s
// RUN: %clang_cc1 -arcmt-check -Wno-error=arcmt-ns-alloc -triple x86_64-apple-darwin10 -fobjc-gc-only %s 2>&1 | grep 'warning: \[rewriter\] call returns pointer to GC managed memory'
-// RUN: %clang_cc1 -arcmt-check -no-ns-alloc-error -triple x86_64-apple-darwin10 -fobjc-gc-only -x objective-c++ %s | not grep warning
+// RUN: %clang_cc1 -arcmt-check -Werror -no-ns-alloc-error -triple x86_64-apple-darwin10 -fobjc-gc-only -x objective-c++ %s
// TODO: Investigate VerifyDiagnosticConsumer failures on these tests when using -verify.
// rdar://10532541
OpenPOWER on IntegriCloud