summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r--Source/cmCTest.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index f93091a..b782cd3 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -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);