summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Format/FormatTest.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2014-09-03 04:32:08 +0000
committerJustin Bogner <mail@justinbogner.com>2014-09-03 04:32:08 +0000
commit33a2a2ed1a4c70995fb540c0bec63bf0defaf720 (patch)
tree89987a521162601731db06e5ff653b5a27e35406 /clang/unittests/Format/FormatTest.cpp
parent73b21d8fa15295bca14f2ef7328cc295ab7761f3 (diff)
downloadbcm5719-llvm-33a2a2ed1a4c70995fb540c0bec63bf0defaf720.tar.gz
bcm5719-llvm-33a2a2ed1a4c70995fb540c0bec63bf0defaf720.zip
test: Allow using clang -verify for failures rather than exit 1
Currently, failure tests work by checking that compilation exits 1. This can lead to tests that fail for the wrong reason, so it'd be preferable to convert them to check for specific errors. This adds use_clang_verify parameter that runs failure tests using clang's -verify flag. I'll convert some tests in subsequent commits, and once all of the tests are converted we should key this on whether cxx_under_test is clang. I've also converted one of the unique.ptr tests, since it's the one that motivated the idea of using clang -verify when possible in the review of r216317. llvm-svn: 217009
Diffstat (limited to 'clang/unittests/Format/FormatTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud