summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestBuildHandler.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-05-31 22:40:43 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-05-31 22:40:43 (GMT)
commit7f7cf5ee6bc298e0dfa4790628241c909d941d55 (patch)
tree0c0def15e0c112fb7ce41e2e7912b53a56c59790 /Source/CTest/cmCTestBuildHandler.cxx
parentf6e5a878fc8de3ac3ef38b144a0a649a9f227682 (diff)
downloadCMake-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/cmCTestBuildHandler.cxx')
-rw-r--r--Source/CTest/cmCTestBuildHandler.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/CTest/cmCTestBuildHandler.cxx b/Source/CTest/cmCTestBuildHandler.cxx
index 520cd92..f2a16dc 100644
--- a/Source/CTest/cmCTestBuildHandler.cxx
+++ b/Source/CTest/cmCTestBuildHandler.cxx
@@ -171,7 +171,7 @@ cmCTestBuildHandler::cmCTestBuildHandler()
}
else
{
- cmCTestLog(m_CTest, ERROR, "Problem Compiling regular expression: "
+ cmCTestLog(m_CTest, ERROR_MESSAGE, "Problem Compiling regular expression: "
<< cmCTestWarningErrorFileLine[cc].m_RegularExpressionString << std::endl);
}
}
@@ -200,13 +200,13 @@ int cmCTestBuildHandler::ProcessHandler()
const std::string &makeCommand = m_CTest->GetCTestConfiguration("MakeCommand");
if ( makeCommand.size() == 0 )
{
- cmCTestLog(m_CTest, ERROR, "Cannot find MakeCommand key in the DartConfiguration.tcl" << std::endl);
+ cmCTestLog(m_CTest, ERROR_MESSAGE, "Cannot find MakeCommand key in the DartConfiguration.tcl" << std::endl);
return -1;
}
const std::string &buildDirectory = m_CTest->GetCTestConfiguration("BuildDirectory");
if ( buildDirectory.size() == 0 )
{
- cmCTestLog(m_CTest, ERROR, "Cannot find BuildDirectory key in the DartConfiguration.tcl" << std::endl);
+ cmCTestLog(m_CTest, ERROR_MESSAGE, "Cannot find BuildDirectory key in the DartConfiguration.tcl" << std::endl);
return -1;
}
@@ -214,7 +214,7 @@ int cmCTestBuildHandler::ProcessHandler()
double elapsed_time_start = cmSystemTools::GetTime();
if ( !m_CTest->OpenOutputFile("Temporary", "LastBuild.log", ofs) )
{
- cmCTestLog(m_CTest, ERROR, "Cannot create LastBuild.log file" << std::endl);
+ cmCTestLog(m_CTest, ERROR_MESSAGE, "Cannot create LastBuild.log file" << std::endl);
}
m_StartBuild = m_CTest->CurrentTime();
@@ -234,7 +234,7 @@ int cmCTestBuildHandler::ProcessHandler()
double elapsed_build_time = cmSystemTools::GetTime() - elapsed_time_start;
if (res != cmsysProcess_State_Exited || retVal )
{
- cmCTestLog(m_CTest, ERROR, "Error(s) when building project" << std::endl);
+ cmCTestLog(m_CTest, ERROR_MESSAGE, "Error(s) when building project" << std::endl);
}
std::vector<cmStdString>::size_type cc;
@@ -437,7 +437,7 @@ int cmCTestBuildHandler::ProcessHandler()
cmGeneratedFileStream xofs;
if( !m_CTest->OpenOutputFile(m_CTest->GetCurrentTag(), "Build.xml", xofs, true) )
{
- cmCTestLog(m_CTest, ERROR, "Cannot create build XML file" << std::endl);
+ cmCTestLog(m_CTest, ERROR_MESSAGE, "Cannot create build XML file" << std::endl);
return -1;
}
this->GenerateDartBuildOutput(xofs, errorsWarnings, elapsed_build_time);