Merge topic 'only-first-output-regex'

12cf7bc CTest: break after first regex match on output
This commit is contained in:
Brad King 2013-05-16 14:38:31 -04:00 committed by CMake Topic Stage
commit 62a9bdb466
1 changed files with 2 additions and 0 deletions

View File

@ -166,6 +166,7 @@ bool cmCTestRunTest::EndTest(size_t completed, size_t total, bool started)
{
found = true;
reason = "Required regular expression found.";
break;
}
}
if ( !found )
@ -196,6 +197,7 @@ bool cmCTestRunTest::EndTest(size_t completed, size_t total, bool started)
reason += passIt->second;
reason += "]";
forceFail = true;
break;
}
}
}