CTest: catch warning output of Apache Maven
Some samples of things that got unnoticed by our nightly builds: $ JAVA_HOME= mvn Warning: JAVA_HOME environment variable is not set. ... $ mvn [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE ...
This commit is contained in:
parent
96453cea6a
commit
fcf3208ac1
|
@ -93,6 +93,7 @@ static const char* cmCTestErrorMatches[] = {
|
|||
": No such file or directory",
|
||||
": Invalid argument",
|
||||
"^The project cannot be built\\.",
|
||||
"^\\[ERROR\\]",
|
||||
0
|
||||
};
|
||||
|
||||
|
@ -119,7 +120,7 @@ static const char* cmCTestWarningMatches[] = {
|
|||
"^\"[^\"]+\", line [0-9]+: [Ww](arning|arnung)",
|
||||
"([^:]+): warning[ \\t]*[0-9]+[ \\t]*:",
|
||||
"^(Warning|Warnung) ([0-9]+):",
|
||||
"^(Warning|Warnung) ",
|
||||
"^(Warning|Warnung)[ :]",
|
||||
"WARNING: ",
|
||||
"([^ :]+) : warning",
|
||||
"([^:]+): warning",
|
||||
|
@ -131,6 +132,7 @@ static const char* cmCTestWarningMatches[] = {
|
|||
"\".*\", line [0-9]+: remark\\([0-9]*\\):",
|
||||
"cc-[0-9]* CC: REMARK File = .*, Line = [0-9]*",
|
||||
"^CMake Warning.*:",
|
||||
"^\\[WARNING\\]",
|
||||
0
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue