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 /Source/cmCTest.cxx | |
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 'Source/cmCTest.cxx')
-rw-r--r-- | Source/cmCTest.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index a5fde89..f0ae8de 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -704,8 +704,7 @@ bool cmCTest::UpdateCTestConfiguration() if (!cmSystemTools::FileExists(fileName)) { // No need to exit if we are not producing XML if (this->Impl->ProduceXML) { - cmCTestLog(this, ERROR_MESSAGE, - "Cannot find file: " << fileName << std::endl); + cmCTestLog(this, WARNING, "Cannot find file: " << fileName << std::endl); return false; } } else { |