summaryrefslogtreecommitdiffstats
path: root/CTestCustom.cmake.in
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2012-02-15 20:29:24 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2012-02-15 20:29:24 (GMT)
commitffb27ca3d4c9a9f916d54d74e2bb3394a6fada04 (patch)
tree83afc6bc2abbf1492d7b04db0419e7ffdcc5f95d /CTestCustom.cmake.in
parenta8b57149351168425f4040c8b99167238cca041d (diff)
downloadCMake-ffb27ca3d4c9a9f916d54d74e2bb3394a6fada04.zip
CMake-ffb27ca3d4c9a9f916d54d74e2bb3394a6fada04.tar.gz
CMake-ffb27ca3d4c9a9f916d54d74e2bb3394a6fada04.tar.bz2
Teach CTest what a ninja error looks like.
This will allow ninja dashboards to show ninja errors as well as compiler errors from the ninja build.
Diffstat (limited to 'CTestCustom.cmake.in')
-rw-r--r--CTestCustom.cmake.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/CTestCustom.cmake.in b/CTestCustom.cmake.in
index 1a46688..286b3c9 100644
--- a/CTestCustom.cmake.in
+++ b/CTestCustom.cmake.in
@@ -1,3 +1,7 @@
+SET(CTEST_CUSTOM_ERROR_MATCH
+ ${CTEST_CUSTOM_ERROR_MATCH}
+ "ERROR:")
+
SET(CTEST_CUSTOM_WARNING_EXCEPTION
${CTEST_CUSTOM_WARNING_EXCEPTION}
"xtree.[0-9]+. : warning C4702: unreachable code"