ENH: Return error if there is an ERROR_MESSAGE. Also fix tag for the test

This commit is contained in:
Andy Cedilnik
2005-06-16 16:24:39 -04:00
parent ed75322836
commit 73fe7c316a
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -2083,6 +2083,7 @@ void cmCTest::Log(int logType, const char* file, int line, const char* msg)
cmCTestLogOutputFileLine(std::cerr);
std::cerr << msg;
std::cerr.flush();
cmSystemTools::SetErrorOccured();
break;
default:
cmCTestLogOutputFileLine(std::cout);