summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-03-22 18:45:34 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2011-03-22 18:45:34 (GMT)
commitbc19ba603250af9187cfaedcb971b16d70718651 (patch)
tree7312ffc64ab7132e899e26d5dc537085586cd6b2 /Source
parent3ae23330ee41199a9da81ebc18ad372316a9527a (diff)
parentfcf3208ac10942344d4e7302ca8351758ba26978 (diff)
downloadCMake-bc19ba603250af9187cfaedcb971b16d70718651.zip
CMake-bc19ba603250af9187cfaedcb971b16d70718651.tar.gz
CMake-bc19ba603250af9187cfaedcb971b16d70718651.tar.bz2
Merge topic 'ctest-detect-maven-errors-and-warnings'
fcf3208 CTest: catch warning output of Apache Maven
Diffstat (limited to 'Source')
-rw-r--r--Source/CTest/cmCTestBuildHandler.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestBuildHandler.cxx b/Source/CTest/cmCTestBuildHandler.cxx
index 9678ac4..86bd85d 100644
--- a/Source/CTest/cmCTestBuildHandler.cxx
+++ b/Source/CTest/cmCTestBuildHandler.cxx
@@ -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
};