summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestScriptHandler.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-11-23 15:49:46 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-11-23 15:49:46 (GMT)
commitbdfc3fadd321c6642e37fc074e5ebd4a5f533787 (patch)
treedcb94b8d9e6ab9cbc9a9bb1b76f0cad6398f6981 /Source/CTest/cmCTestScriptHandler.cxx
parentb29265a6b97fd02111809ef1713175a7807d1356 (diff)
downloadCMake-bdfc3fadd321c6642e37fc074e5ebd4a5f533787.zip
CMake-bdfc3fadd321c6642e37fc074e5ebd4a5f533787.tar.gz
CMake-bdfc3fadd321c6642e37fc074e5ebd4a5f533787.tar.bz2
ENH: add more debug stuff to CTestCTest2 so I can figure out redwall
Diffstat (limited to 'Source/CTest/cmCTestScriptHandler.cxx')
-rw-r--r--Source/CTest/cmCTestScriptHandler.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestScriptHandler.cxx b/Source/CTest/cmCTestScriptHandler.cxx
index 67b171b..db54c92 100644
--- a/Source/CTest/cmCTestScriptHandler.cxx
+++ b/Source/CTest/cmCTestScriptHandler.cxx
@@ -397,6 +397,8 @@ int cmCTestScriptHandler::ReadInScript(const std::string& total_script_arg)
if (!this->Makefile->ReadListFile(0, systemFile.c_str()) ||
cmSystemTools::GetErrorOccuredFlag())
{
+ cmCTestLog(this->CTest, DEBUG, "Error in read: " << systemFile.c_str()
+ << std::endl);
return 2;
}
@@ -404,6 +406,9 @@ int cmCTestScriptHandler::ReadInScript(const std::string& total_script_arg)
if (!this->Makefile->ReadListFile(0, script.c_str()) ||
cmSystemTools::GetErrorOccuredFlag())
{
+ cmCTestLog(this->CTest, DEBUG, "Error in read script: "
+ << script.c_str()
+ << std::endl);
return 2;
}