[1.5] fix issue #104
[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   )
24
25 SET(CTEST_CUSTOM_WARNING_EXCEPTION
26   ${CTEST_CUSTOM_WARNING_EXCEPTION}
27
28   # Suppress warning caused by intentional messages about deprecation
29   ".*warning,.* is deprecated"
30   # supress warnings caused by 3rd party libs:
31   ".*/thirdparty/.*"
32   )