summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/cmCTest.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index a1d66b4..195a343 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -3886,6 +3886,7 @@ int cmCTest::RunCMakeAndTest(std::string* outstring)
if (cm.Run(args) != 0)
{
std::cerr << "Error: cmake execution failed\n";
+ std::cerr << cmakeOutString << "\n";
// return to the original directory
cmSystemTools::ChangeDirectory(cwd.c_str());
return 1;
@@ -3895,6 +3896,7 @@ int cmCTest::RunCMakeAndTest(std::string* outstring)
if (cm.Run(args) != 0)
{
std::cerr << "Error: cmake execution failed\n";
+ std::cerr << cmakeOutString << "\n";
// return to the original directory
cmSystemTools::ChangeDirectory(cwd.c_str());
return 1;