diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-05-31 22:40:43 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-05-31 22:40:43 (GMT) |
commit | 7f7cf5ee6bc298e0dfa4790628241c909d941d55 (patch) | |
tree | 0c0def15e0c112fb7ce41e2e7912b53a56c59790 /Source/CTest/cmCTestScriptHandler.cxx | |
parent | f6e5a878fc8de3ac3ef38b144a0a649a9f227682 (diff) | |
download | CMake-7f7cf5ee6bc298e0dfa4790628241c909d941d55.zip CMake-7f7cf5ee6bc298e0dfa4790628241c909d941d55.tar.gz CMake-7f7cf5ee6bc298e0dfa4790628241c909d941d55.tar.bz2 |
COMP: Remove ERROR reserved word or something and replace with ERROR_MESSAGE
Diffstat (limited to 'Source/CTest/cmCTestScriptHandler.cxx')
-rw-r--r-- | Source/CTest/cmCTestScriptHandler.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/CTest/cmCTestScriptHandler.cxx b/Source/CTest/cmCTestScriptHandler.cxx index 212c1b8..9c57043 100644 --- a/Source/CTest/cmCTestScriptHandler.cxx +++ b/Source/CTest/cmCTestScriptHandler.cxx @@ -585,7 +585,7 @@ int cmCTestScriptHandler::RunConfigurationDashboard() { if ( !cmCTestScriptHandler::EmptyBinaryDirectory(m_BinaryDir.c_str()) ) { - cmCTestLog(m_CTest, ERROR, "Problem removing the binary directory" << std::endl); + cmCTestLog(m_CTest, ERROR_MESSAGE, "Problem removing the binary directory" << std::endl); } } @@ -684,7 +684,7 @@ int cmCTestScriptHandler::RunConfigurationDashboard() } else { - cmCTestLog(m_CTest, ERROR, "Cannot open CMake output file: " + cmCTestLog(m_CTest, ERROR_MESSAGE, "Cannot open CMake output file: " << cmakeOutputFile.c_str() << " for writing" << std::endl); } } @@ -717,11 +717,11 @@ int cmCTestScriptHandler::RunConfigurationDashboard() this->RestoreBackupDirectories(); if (cmakeFailed) { - cmCTestLog(m_CTest, ERROR, "Unable to run cmake:" << std::endl + cmCTestLog(m_CTest, ERROR_MESSAGE, "Unable to run cmake:" << std::endl << cmakeFailedOuput.c_str() << std::endl); return 10; } - cmCTestLog(m_CTest, ERROR, "Unable to run ctest:" << std::endl + cmCTestLog(m_CTest, ERROR_MESSAGE, "Unable to run ctest:" << std::endl << output.c_str() << std::endl); if (!res) { |