Merge topic 'ctest-launch-match-details'

1c61d240 CTest: Report lines matched by launchers

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1084
This commit is contained in:
Brad King
2017-08-08 13:22:37 +00:00
committed by Kitware Robot
+5 -1
View File
@@ -508,7 +508,11 @@ void cmCTestLaunch::DumpFileToXML(cmXMLWriter& xml, std::string const& fname)
if (MatchesFilterPrefix(line)) {
continue;
}
if (this->Match(line, this->RegexWarningSuppress)) {
line = "[CTest: warning suppressed] " + line;
} else if (this->Match(line, this->RegexWarning)) {
line = "[CTest: warning matched] " + line;
}
xml.Content(sep);
xml.Content(line);
sep = "\n";