BUG: If test passes but it should fail, report an error

This commit is contained in:
Andy Cedilnik 2005-10-17 09:09:51 -04:00
parent 2df1442d4d
commit 33ac18891f

View File

@ -756,6 +756,7 @@ void cmCTestTestHandler::ProcessDirectory(std::vector<cmStdString> &passed,
{ {
cmCTestLog(m_CTest, HANDLER_OUTPUT, " - But it should fail!"); cmCTestLog(m_CTest, HANDLER_OUTPUT, " - But it should fail!");
cres.m_Status = cmCTestTestHandler::FAILED; cres.m_Status = cmCTestTestHandler::FAILED;
testFailed = true;
} }
else else
{ {