CTest: Recognize Intel errors without space before colon (#12627)

Fix the regex meant to match errors of the form:

 C:\some\dir\source.cpp(17): catastrophic error: could not open source file "some_header.h"

to make the space between ')' and ':' optional.
This commit is contained in:
Brad King 2011-12-15 09:30:33 -05:00
parent 4ed1769186
commit 56f29f48c2
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ static const char* cmCTestErrorMatches[] = {
"^ild:([ \\t])*\\(undefined symbol\\)", "^ild:([ \\t])*\\(undefined symbol\\)",
"([^ :]+) : (error|fatal error|catastrophic error)", "([^ :]+) : (error|fatal error|catastrophic error)",
"([^:]+): (Error:|error|undefined reference|multiply defined)", "([^:]+): (Error:|error|undefined reference|multiply defined)",
"([^:]+)\\(([^\\)]+)\\) : (error|fatal error|catastrophic error)", "([^:]+)\\(([^\\)]+)\\) ?: (error|fatal error|catastrophic error)",
"^fatal error C[0-9]+:", "^fatal error C[0-9]+:",
": syntax error ", ": syntax error ",
"^collect2: ld returned 1 exit status", "^collect2: ld returned 1 exit status",