Merge topic 'ctest-detect-maven-errors-and-warnings'

fcf3208 CTest: catch warning output of Apache Maven
This commit is contained in:
Brad King 2011-03-22 14:45:34 -04:00 committed by CMake Topic Stage
commit bc19ba6032
1 changed files with 3 additions and 1 deletions

View File

@ -93,6 +93,7 @@ static const char* cmCTestErrorMatches[] = {
": No such file or directory", ": No such file or directory",
": Invalid argument", ": Invalid argument",
"^The project cannot be built\\.", "^The project cannot be built\\.",
"^\\[ERROR\\]",
0 0
}; };
@ -119,7 +120,7 @@ static const char* cmCTestWarningMatches[] = {
"^\"[^\"]+\", line [0-9]+: [Ww](arning|arnung)", "^\"[^\"]+\", line [0-9]+: [Ww](arning|arnung)",
"([^:]+): warning[ \\t]*[0-9]+[ \\t]*:", "([^:]+): warning[ \\t]*[0-9]+[ \\t]*:",
"^(Warning|Warnung) ([0-9]+):", "^(Warning|Warnung) ([0-9]+):",
"^(Warning|Warnung) ", "^(Warning|Warnung)[ :]",
"WARNING: ", "WARNING: ",
"([^ :]+) : warning", "([^ :]+) : warning",
"([^:]+): warning", "([^:]+): warning",
@ -131,6 +132,7 @@ static const char* cmCTestWarningMatches[] = {
"\".*\", line [0-9]+: remark\\([0-9]*\\):", "\".*\", line [0-9]+: remark\\([0-9]*\\):",
"cc-[0-9]* CC: REMARK File = .*, Line = [0-9]*", "cc-[0-9]* CC: REMARK File = .*, Line = [0-9]*",
"^CMake Warning.*:", "^CMake Warning.*:",
"^\\[WARNING\\]",
0 0
}; };