2010-06-29 21:09:10 +02:00
|
|
|
#
|
2011-07-29 11:12:26 +02:00
|
|
|
# Note that the ITK/CMakeLists.txt file configures this file
|
2010-06-29 21:09:10 +02:00
|
|
|
#
|
2011-07-29 11:12:26 +02:00
|
|
|
# CMake/CTestCustom.cmake.in
|
|
|
|
#
|
|
|
|
# to this file
|
|
|
|
#
|
|
|
|
# ${ITK_BINARY_DIR}/CTestCustom.cmake
|
|
|
|
#
|
|
|
|
#----------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# For further details regarding this file,
|
|
|
|
# see http://www.cmake.org/Wiki/CMake_Testing_With_CTest#Customizing_CTest
|
|
|
|
#
|
|
|
|
# and
|
|
|
|
# http://www.kitware.com/blog/home/post/27
|
|
|
|
#
|
|
|
|
#----------------------------------------------------------------------
|
2010-06-29 21:09:10 +02:00
|
|
|
|
2011-09-01 14:08:10 +02:00
|
|
|
SET(CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE 1000000)
|
2010-06-29 21:09:10 +02:00
|
|
|
SET (CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS 50)
|
2011-07-29 11:12:26 +02:00
|
|
|
SET (CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 2000)
|
2010-06-29 21:09:10 +02:00
|
|
|
|
|
|
|
SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
|
|
|
|
${CTEST_CUSTOM_COVERAGE_EXCLUDE}
|
|
|
|
|
|
|
|
# Exclude files from the Testing directories
|
2011-07-29 11:12:26 +02:00
|
|
|
".*/tests/.*"
|
2011-09-01 14:08:10 +02:00
|
|
|
|
|
|
|
# Exclude files from the ThirdParty Utilities directories
|
|
|
|
".*/thirdparty/.*"
|
2010-06-29 21:09:10 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
SET(CTEST_CUSTOM_WARNING_EXCEPTION
|
|
|
|
${CTEST_CUSTOM_WARNING_EXCEPTION}
|
|
|
|
|
|
|
|
# Suppress warning caused by intentional messages about deprecation
|
|
|
|
".*warning,.* is deprecated"
|
|
|
|
)
|