summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/CTest/cmCTestBuildCommand.cxx3
-rw-r--r--Source/CTest/cmCTestBuildHandler.cxx3
-rw-r--r--Source/cmCTest.cxx10
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;
}