BUG: If test passes but it should fail, report an error
This commit is contained in:
parent
2df1442d4d
commit
33ac18891f
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user