summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorTim <tdhutt@gmail.com>2018-08-29 08:57:00 (GMT)
committerBrad King <brad.king@kitware.com>2018-08-30 14:02:38 (GMT)
commitfde61d3ad3c343a82688031662f7e423a5631171 (patch)
tree4d6ec7651a60dc80a28e13bb9269658a3a03de32 /Source/CTest
parent6783fac20a060d0078a03775f179a0f020c53267 (diff)
downloadCMake-fde61d3ad3c343a82688031662f7e423a5631171.zip
CMake-fde61d3ad3c343a82688031662f7e423a5631171.tar.gz
CMake-fde61d3ad3c343a82688031662f7e423a5631171.tar.bz2
CTest: Add error exception for sphinx-build WARNING messages
Sphinx-build warnings look like this: ../path/to/file.rst:105: WARNING: This is not an error. CTest detects these as errors by this regex: ([^ :]+):([0-9]+): ([^ \\t]) Add an exception as we already have for lower-case `: warning`.
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmCTestBuildHandler.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestBuildHandler.cxx b/Source/CTest/cmCTestBuildHandler.cxx
index 3f6654b..c5941ce 100644
--- a/Source/CTest/cmCTestBuildHandler.cxx
+++ b/Source/CTest/cmCTestBuildHandler.cxx
@@ -83,6 +83,7 @@ static const char* cmCTestErrorExceptions[] = {
"instantiated from ",
"candidates are:",
": warning",
+ ": WARNING",
": \\(Warning\\)",
": note",
"Note:",