From 972e09029de2c9b403c29047c216739cf195e5c7 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 9 Jan 2004 12:35:33 -0500 Subject: ENH: clean up output --- Source/cmCTest.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v0.12