2012-02-13 12:20:26 +01:00
|
|
|
#----------------------------------------------------------------------
|
|
|
|
#
|
2011-07-29 11:12:26 +02:00
|
|
|
# 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
|
|
|
|
2012-08-30 19:14:39 +02:00
|
|
|
set(CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE 1000000)
|
|
|
|
set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS 50)
|
|
|
|
set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 2000)
|
2010-06-29 21:09:10 +02:00
|
|
|
|
2012-08-30 19:14:39 +02:00
|
|
|
set(CTEST_CUSTOM_COVERAGE_EXCLUDE
|
2012-02-13 12:20:26 +01:00
|
|
|
${CTEST_CUSTOM_COVERAGE_EXCLUDE}
|
|
|
|
|
|
|
|
# Exclude files from the Testing directories
|
|
|
|
".*/tests/.*"
|
2010-06-29 21:09:10 +02:00
|
|
|
|
2011-08-31 15:33:40 +02:00
|
|
|
# Exclude files from the ThirdParty Utilities directories
|
2012-02-13 12:20:26 +01:00
|
|
|
".*/thirdparty/.*"
|
|
|
|
)
|
2010-06-29 21:09:10 +02:00
|
|
|
|
2012-08-30 19:14:39 +02:00
|
|
|
set(CTEST_CUSTOM_WARNING_EXCEPTION
|
2010-06-29 21:09:10 +02:00
|
|
|
${CTEST_CUSTOM_WARNING_EXCEPTION}
|
2012-02-13 12:20:26 +01:00
|
|
|
|
2010-06-29 21:09:10 +02:00
|
|
|
# Suppress warning caused by intentional messages about deprecation
|
|
|
|
".*warning,.* is deprecated"
|
2014-02-25 17:53:42 +01:00
|
|
|
# java also warns about deprecated API
|
2014-02-26 10:47:53 +01:00
|
|
|
".*java.*deprecation"
|
2014-03-10 15:51:59 +01:00
|
|
|
".*deprecation.*"
|
2015-09-29 05:55:43 +02:00
|
|
|
# suppress warnings caused by 3rd party libs:
|
2012-10-01 13:14:20 +02:00
|
|
|
".*thirdparty.*"
|
2012-03-02 10:26:15 +01:00
|
|
|
"libtiff.*has no symbols"
|
|
|
|
"libpng.*has no symbols"
|
2012-02-13 12:20:26 +01:00
|
|
|
)
|