summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-10-17 13:09:51 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-10-17 13:09:51 (GMT)
commit33ac18891ff73863b088ca3f373eb90620637c11 (patch)
tree51d810cf8e425cb56af1c68b42c73e0cfc877c79 /Source
parent2df1442d4d04ef56bdbb2d1844c498b663c122e9 (diff)
downloadCMake-33ac18891ff73863b088ca3f373eb90620637c11.zip
CMake-33ac18891ff73863b088ca3f373eb90620637c11.tar.gz
CMake-33ac18891ff73863b088ca3f373eb90620637c11.tar.bz2
BUG: If test passes but it should fail, report an error
Diffstat (limited to 'Source')
-rw-r--r--Source/CTest/cmCTestTestHandler.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx
index bede089..2968a91 100644
--- a/Source/CTest/cmCTestTestHandler.cxx
+++ b/Source/CTest/cmCTestTestHandler.cxx
@@ -756,6 +756,7 @@ void cmCTestTestHandler::ProcessDirectory(std::vector<cmStdString> &passed,
{
cmCTestLog(m_CTest, HANDLER_OUTPUT, " - But it should fail!");
cres.m_Status = cmCTestTestHandler::FAILED;
+ testFailed = true;
}
else
{