[PATCH] D33173: Modify test to look for patterns in stderr as well

2017-05-24 Thread Serge Pavlov via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL303735: Modify test so that it looks for patterns in stderr as well (authored by sepavloff). Changed prior to commit: https://reviews.llvm.org/D33173?vs=98928&id=100062#toc Repository: rL LLVM https

[PATCH] D33173: Modify test to look for patterns in stderr as well

2017-05-15 Thread Alexander Kornienko via Phabricator via cfe-commits
alexfh added a comment. Feel free to commit this to fix buildbots, however the underlying https://reviews.llvm.org/D33013 raises some questions. Clang-tidy is also used as a library, in which case it should capture all compiler diagnostics and pass them to the caller. This test verifies that c

[PATCH] D33173: Modify test to look for patterns in stderr as well

2017-05-14 Thread Serge Pavlov via Phabricator via cfe-commits
sepavloff created this revision. With the change https://reviews.llvm.org/D33013 driver does not build compilation object if command line is invalid, in particular, if unrecognized option is provided. In such cases it prints diagnostics on stderr. The test 'clang-tidy/diagnostic.cpp' checks reacti