summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-06-16 20:24:39 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-06-16 20:24:39 (GMT)
commit73fe7c316a0701ae4f4cf5259a0d1a871a200a9a (patch)
tree8e421f44bb6aac8cdfd7546d91ff30047040cc54 /Source
parented753228362d168459ec841e2c6cf2a980db60a5 (diff)
downloadCMake-73fe7c316a0701ae4f4cf5259a0d1a871a200a9a.zip
CMake-73fe7c316a0701ae4f4cf5259a0d1a871a200a9a.tar.gz
CMake-73fe7c316a0701ae4f4cf5259a0d1a871a200a9a.tar.bz2
ENH: Return error if there is an ERROR_MESSAGE. Also fix tag for the test
Diffstat (limited to 'Source')
-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);