diff options
author | Brad King <brad.king@kitware.com> | 2016-11-17 16:36:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-11-18 14:43:22 (GMT) |
commit | 80ebc55a7ce934ee357c30713bcb96b209e97963 (patch) | |
tree | d57f5b3f499669d4d0290a09e7f4a535e7933a9c /Tests/RunCMake/ClangTidy/C-bad-Build-result.txt | |
parent | ce1abfa4149ae0b3920626bef2dd15e8ee8b1940 (diff) | |
download | CMake-80ebc55a7ce934ee357c30713bcb96b209e97963.zip CMake-80ebc55a7ce934ee357c30713bcb96b209e97963.tar.gz CMake-80ebc55a7ce934ee357c30713bcb96b209e97963.tar.bz2 |
cmake: Report if the <LANG>_CLANG_TIDY tool exits with non-zero
When using `<LANG>_CLANG_TIDY` our internal launcher for the tool must
capture its return code and stderr and report them on failure.
Otherwise incorrect command lines silently fail.
Closes: #16435
Diffstat (limited to 'Tests/RunCMake/ClangTidy/C-bad-Build-result.txt')
-rw-r--r-- | Tests/RunCMake/ClangTidy/C-bad-Build-result.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/ClangTidy/C-bad-Build-result.txt b/Tests/RunCMake/ClangTidy/C-bad-Build-result.txt new file mode 100644 index 0000000..d197c91 --- /dev/null +++ b/Tests/RunCMake/ClangTidy/C-bad-Build-result.txt @@ -0,0 +1 @@ +[^0] |