From 33ac18891ff73863b088ca3f373eb90620637c11 Mon Sep 17 00:00:00 2001
From: Andy Cedilnik <andy.cedilnik@kitware.com>
Date: Mon, 17 Oct 2005 09:09:51 -0400
Subject: BUG: If test passes but it should fail, report an error

---
 Source/CTest/cmCTestTestHandler.cxx | 1 +
 1 file changed, 1 insertion(+)

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
           {
-- 
cgit v0.12