2012-02-13 11:20:26 +00:00
|
|
|
#----------------------------------------------------------------------
|
|
|
|
#
|
2011-07-29 09:12:26 +00: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 19:09:10 +00:00
|
|
|
|
2012-08-30 17:14:39 +00: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 19:09:10 +00:00
|
|
|
|
2012-08-30 17:14:39 +00:00
|
|
|
set(CTEST_CUSTOM_COVERAGE_EXCLUDE
|
2012-02-13 11:20:26 +00:00
|
|
|
${CTEST_CUSTOM_COVERAGE_EXCLUDE}
|
|
|
|
|
|
|
|
# Exclude files from the Testing directories
|
|
|
|
".*/tests/.*"
|
2010-06-29 19:09:10 +00:00
|
|
|
|
2011-08-31 13:33:40 +00:00
|
|
|
# Exclude files from the ThirdParty Utilities directories
|
2012-02-13 11:20:26 +00:00
|
|
|
".*/thirdparty/.*"
|
|
|
|
)
|
2010-06-29 19:09:10 +00:00
|
|
|
|
2012-08-30 17:14:39 +00:00
|
|
|
set(CTEST_CUSTOM_WARNING_EXCEPTION
|
2010-06-29 19:09:10 +00:00
|
|
|
${CTEST_CUSTOM_WARNING_EXCEPTION}
|
2012-02-13 11:20:26 +00:00
|
|
|
|
2016-05-02 12:55:43 +02:00
|
|
|
# Ignore clang's summary warning, assuming prior text has matched some
|
|
|
|
# other warning expression:
|
|
|
|
"[0-9,]+ warnings? generated."
|
2010-06-29 19:09:10 +00:00
|
|
|
# Suppress warning caused by intentional messages about deprecation
|
|
|
|
".*warning,.* is deprecated"
|
2014-02-25 16:53:42 +00:00
|
|
|
# java also warns about deprecated API
|
2014-02-26 09:47:53 +00:00
|
|
|
".*java.*deprecation"
|
2014-03-10 14:51:59 +00:00
|
|
|
".*deprecation.*"
|
2015-09-29 05:55:43 +02:00
|
|
|
# suppress warnings caused by 3rd party libs:
|
2012-10-01 11:14:20 +00:00
|
|
|
".*thirdparty.*"
|
2012-03-02 09:26:15 +00:00
|
|
|
"libtiff.*has no symbols"
|
|
|
|
"libpng.*has no symbols"
|
2012-02-13 11:20:26 +00:00
|
|
|
)
|