mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
BUG: If test passes but it should fail, report an error
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user