summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorAntonin Descampe <antonin@gmail.com>2011-06-30 13:52:23 +0000
committerAntonin Descampe <antonin@gmail.com>2011-06-30 13:52:23 +0000
commitb09051fd79da1101185a73198aac2d65cf2b2450 (patch)
tree497030889cbeb1fc666121e8783eadceb2a5771c /CMake
parent1837d6efa0c73b730d4f01921eec8e21d8eaf398 (diff)
fixed CTest configuration files
Diffstat (limited to 'CMake')
-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"
+)