From c2b68af96e1a1b8f598d377e02c91c38759bfc5e Mon Sep 17 00:00:00 2001
From: Guillaume Pasero <guillaume.pasero@c-s.fr>
Date: Fri, 12 Jan 2018 17:08:32 +0100
Subject: [PATCH] TEST: no coverage for swig generated sources

---
 CMake/CTestCustom.cmake.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/CMake/CTestCustom.cmake.in b/CMake/CTestCustom.cmake.in
index a2416c69f3..9d7cc2ae31 100644
--- a/CMake/CTestCustom.cmake.in
+++ b/CMake/CTestCustom.cmake.in
@@ -62,8 +62,9 @@ set(CTEST_CUSTOM_COVERAGE_EXCLUDE
  ".*/Utilities/.*"
 
  # Exclude SWIG wrappers files
- ".*/Modules/Wrappers/SWIG/src/otbApplicationPYTHON_wrap.*"
- ".*/Modules/Wrappers/SWIG/src/otbApplicationJAVA_wrap.*"
+ ".*/Modules/Wrappers/SWIG/src/python/otbApplicationPYTHON_wrap.*"
+ ".*/Modules/Wrappers/SWIG/src/python3/otbApplicationPYTHON_wrap.*"
+ ".*/Modules/Wrappers/SWIG/src/java/otbApplicationJAVA_wrap.*"
 
  # Exclude Qt moc file
  ".*moc_.*"
-- 
GitLab