ENH: change the pass regexp so that it overrides the return value
This commit is contained in:
parent
6f5a53618a
commit
3480c252a3
|
@ -783,7 +783,9 @@ void cmCTestTestHandler::ProcessDirectory(std::vector<cmStdString> &passed,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (res == cmsysProcess_State_Exited && retVal == 0 && !forceFail)
|
if (res == cmsysProcess_State_Exited &&
|
||||||
|
(retVal == 0 || it->m_RequiredRegularExpressions.size()) &&
|
||||||
|
!forceFail)
|
||||||
{
|
{
|
||||||
cmCTestLog(m_CTest, HANDLER_OUTPUT, " Passed");
|
cmCTestLog(m_CTest, HANDLER_OUTPUT, " Passed");
|
||||||
if ( it->m_WillFail )
|
if ( it->m_WillFail )
|
||||||
|
|
Loading…
Reference in New Issue