From b47a82e67fafdb578e921d2510d8f2aaebe6390f Mon Sep 17 00:00:00 2001 From: Julien Malik <julien.malik@c-s.fr> Date: Sat, 5 Nov 2011 16:01:16 +0100 Subject: [PATCH] TEST: do not check coverage of SWIG generated files --- CMake/CTestCustom.cmake.in | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/CMake/CTestCustom.cmake.in b/CMake/CTestCustom.cmake.in index f8c81df9d1..519e48abef 100644 --- a/CMake/CTestCustom.cmake.in +++ b/CMake/CTestCustom.cmake.in @@ -21,11 +21,6 @@ SET(CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE 1000000) SET(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 300) SET(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS 50) -#SET(CTEST_EXTRA_COVERAGE_GLOB -# Source/.*/*.h -# Source/.*/*.txx -# Source/.*/*.cxx -# ) SET(CTEST_CUSTOM_COVERAGE_EXCLUDE ${CTEST_CUSTOM_COVERAGE_EXCLUDE} @@ -39,6 +34,10 @@ SET(CTEST_CUSTOM_COVERAGE_EXCLUDE # Exclude files from the ThirdParty Utilities directories ".*/Testing/Utilities/.*" ".*/Utilities/.*" + + # Exclude SWIG wrappers files + "/Code/Wrappers/SWIG/otbApplicationPYTHON_wrap.cxx" + "/Code/Wrappers/SWIG/otbApplicationJAVA_wrap.cxx" ) SET(CTEST_CUSTOM_WARNING_EXCEPTION -- GitLab