enhance the encoding test suite and remove unsued CONFIGURE_FILE into a CMakeList
[openjpeg.git] / CMake / CTestCustom.cmake.in
1 #
2 # Note that the ITK/CMakeLists.txt file configures this file
3 #
4 #               CMake/CTestCustom.cmake.in
5 #
6 # to this file
7 #
8 #       ${ITK_BINARY_DIR}/CTestCustom.cmake
9 #
10 #----------------------------------------------------------------------
11 #
12 # For further details regarding this file,
13 # see http://www.cmake.org/Wiki/CMake_Testing_With_CTest#Customizing_CTest
14 #
15 # and
16 # http://www.kitware.com/blog/home/post/27
17 #
18 #----------------------------------------------------------------------
19
20 SET(CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE 1000000)
21 SET (CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS   50)
22 SET (CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 2000)
23
24 SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
25  ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
26
27  # Exclude files from the Testing directories
28  ".*/tests/.*"
29  
30   # Exclude files from the ThirdParty Utilities directories
31  ".*/thirdparty/.*"
32  )
33
34 SET(CTEST_CUSTOM_WARNING_EXCEPTION
35   ${CTEST_CUSTOM_WARNING_EXCEPTION}
36   
37   # Suppress warning caused by intentional messages about deprecation
38   ".*warning,.* is deprecated"
39 )