1#
2# For further details regarding this file,
3# see http://www.vtk.org/Wiki/CMake_Testing_With_CTest#Customizing_CTest
4#
5
6SET(CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE   0)
7SET(CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE   0)
8SET(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS        500)
9SET(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS      500)
10
11# Files to explicitly exclude from code coverage
12SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
13 ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
14
15 # Exclude the testing code itself from code coverage
16 "/TESTING/"
17)
18
19# Warnings to explicitly ignore
20SET(CTEST_CUSTOM_WARNING_EXCEPTION
21  ${CTEST_CUSTOM_WARNING_EXCEPTION}
22
23  # Common warning when linking ATLAS built with GNU Fortran 4.1 and building
24  # with GNU Fortran 4.4.  It can be safely ignored.
25  "libgfortran.*may conflict with libgfortran"
26
27  # Harmless warning often seen on IRIX
28  "WARNING 84 : .*libm.* is not used for resolving any symbol"
29
30  # Warnings caused by sun compilers when building code to only run on your
31  # native platform
32  "xarch=native on this architecture implies -xarch=.*which generates code that does not run"
33
34  # Harmless warnings from the Intel compiler on Windows
35  "ipo: warning #11010: file format not recognized for .*\\.exe\\.embed\\.manifest\\.res"
36  "LINK : warning LNK4224: /INCREMENTAL:YES is no longer supported;  ignored"
37
38  # Warnings caused by string truncation in the test code.  The truncation is
39  # intentional
40  "Character string truncated to length 1 on assignment"
41)
42
43