diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-01-07 21:15:55 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-01-07 21:15:55 (GMT) |
commit | baadc0a3614ad5f244f820ce8c006b56eb252083 (patch) | |
tree | e7b61af936d06fb62edda9a18644775d8f6d2014 /Source | |
parent | 66dc84581cd34abc5b16f115e78ed9a6da860534 (diff) | |
download | CMake-baadc0a3614ad5f244f820ce8c006b56eb252083.zip CMake-baadc0a3614ad5f244f820ce8c006b56eb252083.tar.gz CMake-baadc0a3614ad5f244f820ce8c006b56eb252083.tar.bz2 |
ENH: print errors when they are there
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmCTest.cxx | 2 |
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; |