summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestBuildHandler.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-12-15 14:30:33 (GMT)
committerBrad King <brad.king@kitware.com>2011-12-15 14:31:12 (GMT)
commit56f29f48c2f93251838519cade02ce57dd77510f (patch)
treecbcfb8c14b5399ebb414fc7f3f5cc35d01433051 /Source/CTest/cmCTestBuildHandler.cxx
parent4ed1769186f0622efced9d89e6593d136c920dd2 (diff)
downloadCMake-56f29f48c2f93251838519cade02ce57dd77510f.zip
CMake-56f29f48c2f93251838519cade02ce57dd77510f.tar.gz
CMake-56f29f48c2f93251838519cade02ce57dd77510f.tar.bz2
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.
Diffstat (limited to 'Source/CTest/cmCTestBuildHandler.cxx')
-rw-r--r--Source/CTest/cmCTestBuildHandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestBuildHandler.cxx b/Source/CTest/cmCTestBuildHandler.cxx
index 86bd85d..34a3e60 100644
--- a/Source/CTest/cmCTestBuildHandler.cxx
+++ b/Source/CTest/cmCTestBuildHandler.cxx
@@ -57,7 +57,7 @@ static const char* cmCTestErrorMatches[] = {
"^ild:([ \\t])*\\(undefined symbol\\)",
"([^ :]+) : (error|fatal error|catastrophic error)",
"([^:]+): (Error:|error|undefined reference|multiply defined)",
- "([^:]+)\\(([^\\)]+)\\) : (error|fatal error|catastrophic error)",
+ "([^:]+)\\(([^\\)]+)\\) ?: (error|fatal error|catastrophic error)",
"^fatal error C[0-9]+:",
": syntax error ",
"^collect2: ld returned 1 exit status",