summaryrefslogtreecommitdiff
path: root/CMake/CTestCustom.cmake.in
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2010-06-21 11:50:46 +0000
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2010-06-21 11:50:46 +0000
commit1f348833dd4f65f6112ccff161b64153ebaf433c (patch)
treedf5c83c2c2b87423f6763c41f6d7c0c822e50d16 /CMake/CTestCustom.cmake.in
parentf50986524222f33fc52660cb46ef773d90f0f9f6 (diff)
Minor tweaks to cmake files
Diffstat (limited to 'CMake/CTestCustom.cmake.in')
-rw-r--r--CMake/CTestCustom.cmake.in21
1 files changed, 21 insertions, 0 deletions
diff --git a/CMake/CTestCustom.cmake.in b/CMake/CTestCustom.cmake.in
new file mode 100644
index 00000000..00ad6670
--- /dev/null
+++ b/CMake/CTestCustom.cmake.in
@@ -0,0 +1,21 @@
+#
+# For further details regarding this file,
+# see http://www.vtk.org/Wiki/CMake_Testing_With_CTest#Customizing_CTest
+#
+
+SET (CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS 50)
+SET (CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 50)
+
+SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
+ ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
+
+ # Exclude files from the Testing directories
+ ".*/Testing/.*"
+ )
+
+SET(CTEST_CUSTOM_WARNING_EXCEPTION
+ ${CTEST_CUSTOM_WARNING_EXCEPTION}
+
+ # Suppress warning caused by intentional messages about deprecation
+ ".*warning,.* is deprecated"
+)