BUG: try to fix crash

This commit is contained in:
Bill Hoffman 2007-11-08 13:03:37 -05:00
parent 1a5fe3047e
commit 43c8923f14
1 changed files with 8 additions and 2 deletions

View File

@ -678,7 +678,13 @@ void cmCTestTestHandler::ProcessOneTest(cmCTestTestProperties *it,
{
reason = "Required regular expression not found.";
reason += "Regex=[";
for ( passIt = it->RequiredRegularExpressions.begin();
passIt != it->RequiredRegularExpressions.end();
++ passIt )
{
reason += passIt->second;
reason += "\n";
}
reason += "]";
forceFail = true;
}