summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-06-10 13:01:37 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-06-10 13:01:37 (GMT)
commitab313ca5476f7ab56da7b03f1355c3d0d1b81866 (patch)
treeea211281fe61ce16a4918d1ff4aeff60106b1bd4 /Source/CTest
parentcf4ed391407370ff4148ea286ebf9360b9e7331f (diff)
downloadCMake-ab313ca5476f7ab56da7b03f1355c3d0d1b81866.zip
CMake-ab313ca5476f7ab56da7b03f1355c3d0d1b81866.tar.gz
CMake-ab313ca5476f7ab56da7b03f1355c3d0d1b81866.tar.bz2
ENH: Be more verbose
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmCTestBuildHandler.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/CTest/cmCTestBuildHandler.cxx b/Source/CTest/cmCTestBuildHandler.cxx
index ce43bec..ca9d54b 100644
--- a/Source/CTest/cmCTestBuildHandler.cxx
+++ b/Source/CTest/cmCTestBuildHandler.cxx
@@ -500,13 +500,13 @@ int cmCTestBuildHandler::RunMakeCommand(const char* command,
}
argv.push_back(0);
- cmCTestLog(this, HANDLER_VERBOSE_OUTPUT, "Run command:");
+ cmCTestLog(m_CTest, HANDLER_VERBOSE_OUTPUT, "Run command:");
std::vector<const char*>::iterator ait;
- for ( ait = argv.begin(); ait != argv.end(); ++ ait )
+ for ( ait = argv.begin(); ait != argv.end() && *ait; ++ ait )
{
- cmCTestLog(this, HANDLER_VERBOSE_OUTPUT, " \"" << *ait << "\"");
+ cmCTestLog(m_CTest, HANDLER_VERBOSE_OUTPUT, " \"" << *ait << "\"");
}
- cmCTestLog(this, HANDLER_VERBOSE_OUTPUT, std::endl);
+ cmCTestLog(m_CTest, HANDLER_VERBOSE_OUTPUT, std::endl);
// Now create process object
cmsysProcess* cp = cmsysProcess_New();
@@ -589,7 +589,7 @@ int cmCTestBuildHandler::RunMakeCommand(const char* command,
errorwarning.m_Error = true;
m_ErrorsAndWarnings.push_back(errorwarning);
m_TotalErrors ++;
- cmCTestLog(this, ERROR_MESSAGE, "There was an error: " << cmsysProcess_GetErrorString(cp) << std::endl);
+ cmCTestLog(m_CTest, ERROR_MESSAGE, "There was an error: " << cmsysProcess_GetErrorString(cp) << std::endl);
}
cmsysProcess_Delete(cp);