summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/ClangTidy/C-bad-Build-result.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-11-17 16:36:04 (GMT)
committerBrad King <brad.king@kitware.com>2016-11-18 14:43:22 (GMT)
commit80ebc55a7ce934ee357c30713bcb96b209e97963 (patch)
treed57f5b3f499669d4d0290a09e7f4a535e7933a9c /Tests/RunCMake/ClangTidy/C-bad-Build-result.txt
parentce1abfa4149ae0b3920626bef2dd15e8ee8b1940 (diff)
downloadCMake-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.txt1
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]