From 2b747ed38130bf1b1afe84cc1fa319106750a75a Mon Sep 17 00:00:00 2001
From: Federico Felici <federico.felici@epfl.ch>
Date: Tue, 14 Jun 2022 19:50:47 +0200
Subject: [PATCH] improve coverage report span

---
 run_scdds_core_tests.m | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/run_scdds_core_tests.m b/run_scdds_core_tests.m
index da696f1..a3f81ac 100644
--- a/run_scdds_core_tests.m
+++ b/run_scdds_core_tests.m
@@ -104,8 +104,8 @@ if needCOV
       xmlFile = fullfile(projectpath,sprintf('%s_%s_%s_cov.xml',prefix,test_case,suffix));
       reportFormat = matlab.unittest.plugins.codecoverage.CoberturaFormat(xmlFile);
   end
-  p = matlab.unittest.plugins.CodeCoveragePlugin.forFolder({tbxpath,fullfile(tbxpath,'mexm'),testspath},...
-    'IncludingSubfolders',false,'Producing',reportFormat);
+  p = matlab.unittest.plugins.CodeCoveragePlugin.forFolder({tbxpath},...
+    'IncludingSubfolders',true,'Producing',reportFormat);
   runner.addPlugin(p)
 end
 if useparallel && paravail
-- 
GitLab