diff options
author | Kevin Puetz <PuetzKevinA@JohnDeere.com> | 2020-04-03 20:07:01 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-08-26 15:27:05 (GMT) |
commit | 6a6f1d1edd73902053d215ce3dc12267f05501e2 (patch) | |
tree | 9485d231fb1020279f1bc5bba862c33881bdf9be /Tests/RunCMake/CTestCommandLine | |
parent | 6cbaa8eb931950b8a834acc0c6f78a7290c4d3d9 (diff) | |
download | CMake-6a6f1d1edd73902053d215ce3dc12267f05501e2.zip CMake-6a6f1d1edd73902053d215ce3dc12267f05501e2.tar.gz CMake-6a6f1d1edd73902053d215ce3dc12267f05501e2.tar.bz2 |
CTest: exit nonzero after message(SEND_ERROR|FATAL_ERROR)
Fixes: #21004
Diffstat (limited to 'Tests/RunCMake/CTestCommandLine')
3 files changed, 3 insertions, 1 deletions
diff --git a/Tests/RunCMake/CTestCommandLine/BadCTestTestfile-result.txt b/Tests/RunCMake/CTestCommandLine/BadCTestTestfile-result.txt new file mode 100644 index 0000000..d197c91 --- /dev/null +++ b/Tests/RunCMake/CTestCommandLine/BadCTestTestfile-result.txt @@ -0,0 +1 @@ +[^0] diff --git a/Tests/RunCMake/CTestCommandLine/BadCTestTestfile-stderr.txt b/Tests/RunCMake/CTestCommandLine/BadCTestTestfile-stderr.txt index d95bb33..97e2a10 100644 --- a/Tests/RunCMake/CTestCommandLine/BadCTestTestfile-stderr.txt +++ b/Tests/RunCMake/CTestCommandLine/BadCTestTestfile-stderr.txt @@ -1,4 +1,4 @@ ^CMake Error at CTestTestfile.cmake:[0-9]+ \(subdirs\): subdirs called with incorrect number of arguments + -No tests were found!!!$ +Errors while running CTest$ diff --git a/Tests/RunCMake/CTestCommandLine/TestOutputSize-stderr.txt b/Tests/RunCMake/CTestCommandLine/TestOutputSize-stderr.txt index ba4235d..19310b8 100644 --- a/Tests/RunCMake/CTestCommandLine/TestOutputSize-stderr.txt +++ b/Tests/RunCMake/CTestCommandLine/TestOutputSize-stderr.txt @@ -1 +1,2 @@ +^Cannot find file: .*/Tests/RunCMake/CTestCommandLine/TestOutputSize/DartConfiguration.tcl Errors while running CTest |