diff options
author | Zack Galbreath <zack.galbreath@kitware.com> | 2015-02-26 14:00:10 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-02-27 15:31:02 (GMT) |
commit | 6bf130979e68201aac99c0d2009b50b26a389993 (patch) | |
tree | 7314fca98d5da33e7153eec7176826669f47add1 /Source/CTest | |
parent | 4817d2814a6d82e35590f9bfff2b088c95d45395 (diff) | |
download | CMake-6bf130979e68201aac99c0d2009b50b26a389993.zip CMake-6bf130979e68201aac99c0d2009b50b26a389993.tar.gz CMake-6bf130979e68201aac99c0d2009b50b26a389993.tar.bz2 |
CTest: Drop "Error in read script" message at end of testing
A more-specific error message is always displayed earlier in the
output if any real error occurred. This final summary message
is distracting to readers searching through the output for the
word "error". Simply drop it.
Diffstat (limited to 'Source/CTest')
-rw-r--r-- | Source/CTest/cmCTestScriptHandler.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/CTest/cmCTestScriptHandler.cxx b/Source/CTest/cmCTestScriptHandler.cxx index 8184bb4..3792953 100644 --- a/Source/CTest/cmCTestScriptHandler.cxx +++ b/Source/CTest/cmCTestScriptHandler.cxx @@ -454,12 +454,8 @@ int cmCTestScriptHandler::ReadInScript(const std::string& total_script_arg) if (!this->Makefile->ReadListFile(0, script.c_str()) || cmSystemTools::GetErrorOccuredFlag()) { - cmCTestLog(this->CTest, ERROR_MESSAGE, "Error in read script: " - << script - << std::endl); // Reset the error flag so that it can run more than - // one script with an error when you - // use ctest_run_script + // one script with an error when you use ctest_run_script. cmSystemTools::ResetErrorOccuredFlag(); return 2; } |