BUG: try to fix crash
This commit is contained in:
parent
1a5fe3047e
commit
43c8923f14
@ -677,8 +677,14 @@ void cmCTestTestHandler::ProcessOneTest(cmCTestTestProperties *it,
|
|||||||
if ( !found )
|
if ( !found )
|
||||||
{
|
{
|
||||||
reason = "Required regular expression not found.";
|
reason = "Required regular expression not found.";
|
||||||
reason += "Regex=[";
|
reason += "Regex=[";
|
||||||
reason += passIt->second;
|
for ( passIt = it->RequiredRegularExpressions.begin();
|
||||||
|
passIt != it->RequiredRegularExpressions.end();
|
||||||
|
++ passIt )
|
||||||
|
{
|
||||||
|
reason += passIt->second;
|
||||||
|
reason += "\n";
|
||||||
|
}
|
||||||
reason += "]";
|
reason += "]";
|
||||||
forceFail = true;
|
forceFail = true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user