39c2c4d7bc3fdc78cfb23f1a9709ece2d1c54df3
[openjpeg.git] / cmake / CTestCustom.cmake.in
1 #----------------------------------------------------------------------
2 #
3 # For further details regarding this file,
4 # see http://www.cmake.org/Wiki/CMake_Testing_With_CTest#Customizing_CTest
5 #
6 # and
7 # http://www.kitware.com/blog/home/post/27
8 #
9 #----------------------------------------------------------------------
10
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)
14
15 set(CTEST_CUSTOM_COVERAGE_EXCLUDE
16   ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
17
18   # Exclude files from the Testing directories
19   ".*/tests/.*"
20
21   # Exclude files from the ThirdParty Utilities directories
22   ".*/thirdparty/.*"
23   ".*libtiff.*"
24   )
25
26 set(CTEST_CUSTOM_WARNING_EXCEPTION
27   ${CTEST_CUSTOM_WARNING_EXCEPTION}
28
29   # Suppress warning caused by intentional messages about deprecation
30   ".*warning,.* is deprecated"
31   # supress warnings caused by 3rd party libs:
32   ".*/thirdparty/.*"
33   "libtiff.*has no symbols"
34   "libpng.*has no symbols"
35   )