diff --git a/CMake/CTestCustom.cmake.in b/CMake/CTestCustom.cmake.in index 519e48abefb3397248fa6523f73144316f095300..81a8fb0aab89d12bab318bb86f2c4607b264e111 100644 --- a/CMake/CTestCustom.cmake.in +++ b/CMake/CTestCustom.cmake.in @@ -36,8 +36,8 @@ SET(CTEST_CUSTOM_COVERAGE_EXCLUDE ".*/Utilities/.*" # Exclude SWIG wrappers files - "/Code/Wrappers/SWIG/otbApplicationPYTHON_wrap.cxx" - "/Code/Wrappers/SWIG/otbApplicationJAVA_wrap.cxx" + ".*/Code/Wrappers/SWIG/otbApplicationPYTHON_wrap.*" + ".*/Code/Wrappers/SWIG/otbApplicationJAVA_wrap.*" ) SET(CTEST_CUSTOM_WARNING_EXCEPTION