From d4b7365c680d520b555ec012b003548b063f2f62 Mon Sep 17 00:00:00 2001
From: Julien Malik <julien.malik@c-s.fr>
Date: Tue, 26 Mar 2013 18:29:15 +0100
Subject: [PATCH] COMP: do not check coverage of Qt moc file

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

diff --git a/CMake/CTestCustom.cmake.in b/CMake/CTestCustom.cmake.in
index eee64e2629..6362a5bdb5 100644
--- a/CMake/CTestCustom.cmake.in
+++ b/CMake/CTestCustom.cmake.in
@@ -38,6 +38,9 @@ SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
  # Exclude SWIG wrappers files
  ".*/Code/Wrappers/SWIG/otbApplicationPYTHON_wrap.*"
  ".*/Code/Wrappers/SWIG/otbApplicationJAVA_wrap.*"
+
+ # Exclude Qt moc file
+ ".*moc_.*"
  )
 
 SET(CTEST_CUSTOM_WARNING_EXCEPTION
-- 
GitLab