summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-10-13 14:27:01 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-10-13 14:27:01 (GMT)
commit870f2aeb2e732ad580d72546686673e82616f0b1 (patch)
treeb99a48371f5b5df67e83727dc90f656ca625b8e1 /Source/CTest
parent69356d8a7a73cc1a6842eef7fce552610e901dfe (diff)
downloadCMake-870f2aeb2e732ad580d72546686673e82616f0b1.zip
CMake-870f2aeb2e732ad580d72546686673e82616f0b1.tar.gz
CMake-870f2aeb2e732ad580d72546686673e82616f0b1.tar.bz2
BUG: Replace some errors with warnings
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmCTestMemCheckHandler.cxx2
-rw-r--r--Source/CTest/cmCTestUpdateHandler.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/Source/CTest/cmCTestMemCheckHandler.cxx b/Source/CTest/cmCTestMemCheckHandler.cxx
index e9b6c09..1726071 100644
--- a/Source/CTest/cmCTestMemCheckHandler.cxx
+++ b/Source/CTest/cmCTestMemCheckHandler.cxx
@@ -334,7 +334,7 @@ bool cmCTestMemCheckHandler::InitializeMemoryChecking()
}
else
{
- cmCTestLog(this->CTest, ERROR_MESSAGE,
+ cmCTestLog(this->CTest, WARNING,
"Memory checker (MemoryCheckCommand) "
"not set, or cannot find the specified program."
<< std::endl);
diff --git a/Source/CTest/cmCTestUpdateHandler.cxx b/Source/CTest/cmCTestUpdateHandler.cxx
index 7329a8d..08017c5 100644
--- a/Source/CTest/cmCTestUpdateHandler.cxx
+++ b/Source/CTest/cmCTestUpdateHandler.cxx
@@ -744,7 +744,7 @@ int cmCTestUpdateHandler::ProcessHandler()
ofs << output << std::endl;
}
}
- if ( res && retVal == 0)
+ if ( res )
{
cmCTestLog(this->CTest, DEBUG, output << std::endl);
std::string::size_type sline = 0;
@@ -1090,7 +1090,7 @@ int cmCTestUpdateHandler::ProcessHandler()
os << "</UpdateReturnStatus>" << std::endl;
os << "</Update>" << std::endl;
- if (! res || retVal )
+ if (! res )
{
cmCTestLog(this->CTest, ERROR_MESSAGE,
"Error(s) when updating the project" << std::endl);