[cmake-commits] andy committed cmCTestScriptHandler.cxx 1.35 1.36
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Oct 12 15:10:23 EDT 2006
Update of /cvsroot/CMake/CMake/Source/CTest
In directory public:/mounts/ram/cvs-serv19802/Source/CTest
Modified Files:
cmCTestScriptHandler.cxx
Log Message:
BUG: Report and error when ctest -S script fails... Fixes: Bug #3540
Index: cmCTestScriptHandler.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmCTestScriptHandler.cxx,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- cmCTestScriptHandler.cxx 14 Aug 2006 14:51:08 -0000 1.35
+++ cmCTestScriptHandler.cxx 12 Oct 2006 19:10:21 -0000 1.36
@@ -364,7 +364,8 @@
this->Makefile->AddFunctionBlocker(f);
// finally read in the script
- if (!this->Makefile->ReadListFile(0, script.c_str()))
+ if (!this->Makefile->ReadListFile(0, script.c_str()) ||
+ cmSystemTools::GetErrorOccuredFlag())
{
return 2;
}
More information about the Cmake-commits
mailing list