ENH: clean up output
This commit is contained in:
parent
c1f83b0515
commit
972e09029d
|
@ -4029,14 +4029,15 @@ int cmCTest::RunCMakeAndTest(std::string* outstring)
|
||||||
}
|
}
|
||||||
if ( retVal )
|
if ( retVal )
|
||||||
{
|
{
|
||||||
cmSystemTools::Error("Building of project failed\n");
|
|
||||||
if(outstring)
|
if(outstring)
|
||||||
{
|
{
|
||||||
|
*outstring += "Building of project failed\n";
|
||||||
*outstring += output;
|
*outstring += output;
|
||||||
*outstring += "\n";
|
*outstring += "\n";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
std::cerr << "Building of project failed\n";
|
||||||
std::cout << output << "\n";
|
std::cout << output << "\n";
|
||||||
}
|
}
|
||||||
// return to the original directory
|
// return to the original directory
|
||||||
|
|
Loading…
Reference in New Issue