mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
BUG: try to fix crash
This commit is contained in:
@@ -677,8 +677,14 @@ void cmCTestTestHandler::ProcessOneTest(cmCTestTestProperties *it,
|
||||
if ( !found )
|
||||
{
|
||||
reason = "Required regular expression not found.";
|
||||
reason += "Regex=[";
|
||||
reason += passIt->second;
|
||||
reason += "Regex=[";
|
||||
for ( passIt = it->RequiredRegularExpressions.begin();
|
||||
passIt != it->RequiredRegularExpressions.end();
|
||||
++ passIt )
|
||||
{
|
||||
reason += passIt->second;
|
||||
reason += "\n";
|
||||
}
|
||||
reason += "]";
|
||||
forceFail = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user