summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorZack Galbreath <zack.galbreath@kitware.com>2015-02-26 14:00:10 (GMT)
committerBrad King <brad.king@kitware.com>2015-02-27 15:31:02 (GMT)
commit6bf130979e68201aac99c0d2009b50b26a389993 (patch)
tree7314fca98d5da33e7153eec7176826669f47add1 /Source
parent4817d2814a6d82e35590f9bfff2b088c95d45395 (diff)
downloadCMake-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')
-rw-r--r--Source/CTest/cmCTestScriptHandler.cxx6
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;
}