diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-01-09 17:35:33 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-01-09 17:35:33 (GMT) |
commit | 972e09029de2c9b403c29047c216739cf195e5c7 (patch) | |
tree | 087898abfc325ac1679140b43d3e1ad2cd5952f0 | |
parent | c1f83b0515c646d3d963df09ef7d77eb7c7ce648 (diff) | |
download | CMake-972e09029de2c9b403c29047c216739cf195e5c7.zip CMake-972e09029de2c9b403c29047c216739cf195e5c7.tar.gz CMake-972e09029de2c9b403c29047c216739cf195e5c7.tar.bz2 |
ENH: clean up output
-rw-r--r-- | Source/cmCTest.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index 6a233bf..d669017 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -4029,14 +4029,15 @@ int cmCTest::RunCMakeAndTest(std::string* outstring) } if ( retVal ) { - cmSystemTools::Error("Building of project failed\n"); if(outstring) { + *outstring += "Building of project failed\n"; *outstring += output; *outstring += "\n"; } else { + std::cerr << "Building of project failed\n"; std::cout << output << "\n"; } // return to the original directory |