[cmake-commits] martink committed cmCTestBuildHandler.cxx 1.55 1.56
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed Mar 28 09:58:02 EST 2007
Update of /cvsroot/CMake/CMake/Source/CTest
In directory public:/mounts/ram/cvs-serv25348/CTest
Modified Files:
cmCTestBuildHandler.cxx
Log Message:
BUG: fix checking of the return value for a build
Index: cmCTestBuildHandler.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmCTestBuildHandler.cxx,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -d -r1.55 -r1.56
--- cmCTestBuildHandler.cxx 20 Mar 2007 18:52:27 -0000 1.55
+++ cmCTestBuildHandler.cxx 28 Mar 2007 14:58:00 -0000 1.56
@@ -696,12 +696,13 @@
cmCTestLog(this->CTest, HANDLER_VERBOSE_OUTPUT,
"Command exited with the value: " << *retVal << std::endl);
// if a non zero return value
- if (retVal)
+ if (retVal && *retVal)
{
// If there was an error running command, report that on the dashboard.
cmCTestBuildErrorWarning errorwarning;
errorwarning.LogLine = 1;
- errorwarning.Text = "*** WARNING non-zero return value from: ";
+ errorwarning.Text
+ = "*** WARNING non-zero return value in ctest from: ";
errorwarning.Text += argv[0];
errorwarning.PreContext = "";
errorwarning.PostContext = "";
More information about the Cmake-commits
mailing list