Fix typos in comments and string
[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   # java also warns about deprecated API
31   ".*java.*deprecation"
32   ".*deprecation.*"
33   # suppress warnings caused by 3rd party libs:
34   ".*thirdparty.*"
35   "libtiff.*has no symbols"
36   "libpng.*has no symbols"
37   )