aboutsummaryrefslogtreecommitdiff
path: root/CTestCustom.cmake.in
diff options
context:
space:
mode:
authorjulie <julielangou@users.noreply.github.com>2010-12-20 22:54:32 +0000
committerjulie <julielangou@users.noreply.github.com>2010-12-20 22:54:32 +0000
commit96a5907fbc5787b9b8e45d9acc9033af7a112718 (patch)
tree8408c67caab57cf0585e608c958ab552490ee89c /CTestCustom.cmake.in
parent20d3177888b19f48f750f67a24a41fd2422efedb (diff)
Added a CTestCustom.cmake file to filter unwanted files from code coverage and suppress harmless warnings on the dashboard.
- Chuck Atkins (Kitware)
Diffstat (limited to 'CTestCustom.cmake.in')
-rw-r--r--CTestCustom.cmake.in27
1 files changed, 27 insertions, 0 deletions
diff --git a/CTestCustom.cmake.in b/CTestCustom.cmake.in
new file mode 100644
index 00000000..30240beb
--- /dev/null
+++ b/CTestCustom.cmake.in
@@ -0,0 +1,27 @@
+#
+# 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)
+
+# Files to explicitly exclude from code coverage
+SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
+ ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
+
+ # Exclude the internal BLAS libraries
+ "/BLAS/"
+
+ # Exclude the testing code itself from code coverage
+ "/TESTING/"
+)
+
+# Warnings to explicitly ignore
+SET(CTEST_CUSTOM_WARNING_EXCEPTION
+ ${CTEST_CUSTOM_WARNING_EXCEPTION}
+
+ # Common warning when linking ATLAS built with GNU Fortran 4.1 and building
+ # with GNU Fortran 4.4. It can be safely ignored.
+ "libgfortran.*may conflict with libgfortran"
+)