ENH: add more verbose output
This commit is contained in:
parent
f80d98bc09
commit
21b5c7d2b4
@ -97,6 +97,9 @@ cmCTestGenericHandler* cmCTestBuildCommand::InitializeHandler()
|
|||||||
cmakeProjectName,
|
cmakeProjectName,
|
||||||
cmakeBuildAdditionalFlags, cmakeBuildTarget,
|
cmakeBuildAdditionalFlags, cmakeBuildTarget,
|
||||||
cmakeBuildConfiguration, true, false);
|
cmakeBuildConfiguration, true, false);
|
||||||
|
cmCTestLog(this->CTest, HANDLER_VERBOSE_OUTPUT,
|
||||||
|
"SetMakeCommand:"
|
||||||
|
<< buildCommand.c_str() << "\n");
|
||||||
this->CTest->SetCTestConfiguration("MakeCommand", buildCommand.c_str());
|
this->CTest->SetCTestConfiguration("MakeCommand", buildCommand.c_str());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -283,6 +283,9 @@ int cmCTestBuildHandler::ProcessHandler()
|
|||||||
// Determine build command and build directory
|
// Determine build command and build directory
|
||||||
const std::string &makeCommand
|
const std::string &makeCommand
|
||||||
= this->CTest->GetCTestConfiguration("MakeCommand");
|
= this->CTest->GetCTestConfiguration("MakeCommand");
|
||||||
|
cmCTestLog(this->CTest,
|
||||||
|
HANDLER_VERBOSE_OUTPUT, "MakeCommand:" << makeCommand <<
|
||||||
|
"\n");
|
||||||
if ( makeCommand.size() == 0 )
|
if ( makeCommand.size() == 0 )
|
||||||
{
|
{
|
||||||
cmCTestLog(this->CTest, ERROR_MESSAGE,
|
cmCTestLog(this->CTest, ERROR_MESSAGE,
|
||||||
|
@ -524,6 +524,8 @@ bool cmCTest::UpdateCTestConfiguration()
|
|||||||
fileName = this->BinaryDir + "/CTestConfiguration.ini";
|
fileName = this->BinaryDir + "/CTestConfiguration.ini";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
cmCTestLog(this, HANDLER_VERBOSE_OUTPUT, "UpdateCTestConfiguration from :"
|
||||||
|
<< fileName.c_str() << "\n");
|
||||||
if ( !cmSystemTools::FileExists(fileName.c_str()) )
|
if ( !cmSystemTools::FileExists(fileName.c_str()) )
|
||||||
{
|
{
|
||||||
// No need to exit if we are not producing XML
|
// No need to exit if we are not producing XML
|
||||||
@ -536,6 +538,8 @@ bool cmCTest::UpdateCTestConfiguration()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
cmCTestLog(this, HANDLER_VERBOSE_OUTPUT, "Parse Config file:"
|
||||||
|
<< fileName.c_str() << "\n");
|
||||||
// parse the dart test file
|
// parse the dart test file
|
||||||
std::ifstream fin(fileName.c_str());
|
std::ifstream fin(fileName.c_str());
|
||||||
if(!fin)
|
if(!fin)
|
||||||
@ -2243,6 +2247,9 @@ void cmCTest::EmptyCTestConfiguration()
|
|||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
void cmCTest::SetCTestConfiguration(const char *name, const char* value)
|
void cmCTest::SetCTestConfiguration(const char *name, const char* value)
|
||||||
{
|
{
|
||||||
|
cmCTestLog(this, HANDLER_VERBOSE_OUTPUT, "SetCTestConfiguration:"
|
||||||
|
<< name << ":" << value << "\n");
|
||||||
|
|
||||||
if ( !name )
|
if ( !name )
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
@ -2358,6 +2365,9 @@ bool cmCTest::SetCTestConfigurationFromCMakeVariable(cmMakefile* mf,
|
|||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
cmCTestLog(this, HANDLER_VERBOSE_OUTPUT,
|
||||||
|
"SetCTestConfigurationFromCMakeVariable:"
|
||||||
|
<< dconfig << ":" << cmake_var);
|
||||||
this->SetCTestConfiguration(dconfig, ctvar);
|
this->SetCTestConfiguration(dconfig, ctvar);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user