aboutsummaryrefslogtreecommitdiff
path: root/CTestCustom.cmake.in
blob: ae3e30d52ee05cdfdc38b5d6ac47086e25d0701a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#
# For further details regarding this file, 
# see http://www.vtk.org/Wiki/CMake_Testing_With_CTest#Customizing_CTest
#

SET(CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE   0)
SET(CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE   0)
SET(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS        500)
SET(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS      500)

# 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"

  # Harmless warning often seen on IRIX
  "WARNING 84 : .*libm.* is not used for resolving any symbol"

  # Warnings caused by sun compilers when building code to only run on your 
  # native platform
  "xarch=native on this architecture implies -xarch=.*which generates code that does not run"
)