diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2007-06-14 17:05:09 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2007-06-14 17:05:09 (GMT) |
commit | 21b5c7d2b494bde1c15b1b87bad6562ff99feb34 (patch) | |
tree | 398b35366dca1cda01a39100b333cc4a8f0ed747 | |
parent | f80d98bc09982540f874925da3c324537f2ac201 (diff) | |
download | CMake-21b5c7d2b494bde1c15b1b87bad6562ff99feb34.zip CMake-21b5c7d2b494bde1c15b1b87bad6562ff99feb34.tar.gz CMake-21b5c7d2b494bde1c15b1b87bad6562ff99feb34.tar.bz2 |
ENH: add more verbose output
-rw-r--r-- | Source/CTest/cmCTestBuildCommand.cxx | 3 | ||||
-rw-r--r-- | Source/CTest/cmCTestBuildHandler.cxx | 3 | ||||
-rw-r--r-- | Source/cmCTest.cxx | 10 |
3 files changed, 16 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestBuildCommand.cxx b/Source/CTest/cmCTestBuildCommand.cxx index 10ba856..ff284d2 100644 --- a/Source/CTest/cmCTestBuildCommand.cxx +++ b/Source/CTest/cmCTestBuildCommand.cxx @@ -97,6 +97,9 @@ cmCTestGenericHandler* cmCTestBuildCommand::InitializeHandler() cmakeProjectName, cmakeBuildAdditionalFlags, cmakeBuildTarget, cmakeBuildConfiguration, true, false); + cmCTestLog(this->CTest, HANDLER_VERBOSE_OUTPUT, + "SetMakeCommand:" + << buildCommand.c_str() << "\n"); this->CTest->SetCTestConfiguration("MakeCommand", buildCommand.c_str()); } else diff --git a/Source/CTest/cmCTestBuildHandler.cxx b/Source/CTest/cmCTestBuildHandler.cxx index 7b87529..31b9adf 100644 --- a/Source/CTest/cmCTestBuildHandler.cxx +++ b/Source/CTest/cmCTestBuildHandler.cxx @@ -283,6 +283,9 @@ int cmCTestBuildHandler::ProcessHandler() // Determine build command and build directory const std::string &makeCommand = this->CTest->GetCTestConfiguration("MakeCommand"); + cmCTestLog(this->CTest, + HANDLER_VERBOSE_OUTPUT, "MakeCommand:" << makeCommand << + "\n"); if ( makeCommand.size() == 0 ) { cmCTestLog(this->CTest, ERROR_MESSAGE, diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index 4d9cfcd..2e75515 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -524,6 +524,8 @@ bool cmCTest::UpdateCTestConfiguration() fileName = this->BinaryDir + "/CTestConfiguration.ini"; } } + cmCTestLog(this, HANDLER_VERBOSE_OUTPUT, "UpdateCTestConfiguration from :" + << fileName.c_str() << "\n"); if ( !cmSystemTools::FileExists(fileName.c_str()) ) { // No need to exit if we are not producing XML @@ -536,6 +538,8 @@ bool cmCTest::UpdateCTestConfiguration() } else { + cmCTestLog(this, HANDLER_VERBOSE_OUTPUT, "Parse Config file:" + << fileName.c_str() << "\n"); // parse the dart test file std::ifstream fin(fileName.c_str()); if(!fin) @@ -2243,6 +2247,9 @@ void cmCTest::EmptyCTestConfiguration() //---------------------------------------------------------------------- void cmCTest::SetCTestConfiguration(const char *name, const char* value) { + cmCTestLog(this, HANDLER_VERBOSE_OUTPUT, "SetCTestConfiguration:" + << name << ":" << value << "\n"); + if ( !name ) { return; @@ -2358,6 +2365,9 @@ bool cmCTest::SetCTestConfigurationFromCMakeVariable(cmMakefile* mf, { return false; } + cmCTestLog(this, HANDLER_VERBOSE_OUTPUT, + "SetCTestConfigurationFromCMakeVariable:" + << dconfig << ":" << cmake_var); this->SetCTestConfiguration(dconfig, ctvar); return true; } |