1 #----------------------------------------------------------------------
3 # For further details regarding this file,
4 # see http://www.cmake.org/Wiki/CMake_Testing_With_CTest#Customizing_CTest
7 # http://www.kitware.com/blog/home/post/27
9 #----------------------------------------------------------------------
11 set(CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE 1000000)
12 set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS 50)
13 set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 2000)
15 set(CTEST_CUSTOM_COVERAGE_EXCLUDE
16 ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
18 # Exclude files from the Testing directories
21 # Exclude files from the ThirdParty Utilities directories
25 set(CTEST_CUSTOM_WARNING_EXCEPTION
26 ${CTEST_CUSTOM_WARNING_EXCEPTION}
28 # Ignore clang's summary warning, assuming prior text has matched some
29 # other warning expression:
30 "[0-9,]+ warnings? generated."
31 # Suppress warning caused by intentional messages about deprecation
32 ".*warning,.* is deprecated"
33 # java also warns about deprecated API
36 # suppress warnings caused by 3rd party libs:
38 "libtiff.*has no symbols"
39 "libpng.*has no symbols"