From b76cfc7a7331e4865a613199ab7fa58cb48f1058 Mon Sep 17 00:00:00 2001
From: Federico Felici <federico.felici@epfl.ch>
Date: Thu, 30 Sep 2021 14:57:17 +0200
Subject: [PATCH] fix test population mechanism

---
 matlab/run_gdat_tests.m | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/matlab/run_gdat_tests.m b/matlab/run_gdat_tests.m
index 31a02d14..1f2a1007 100644
--- a/matlab/run_gdat_tests.m
+++ b/matlab/run_gdat_tests.m
@@ -46,8 +46,8 @@ testspath = fullfile(tbxpath,'tests');
 
 lastwarn('','');
 
-suite_all = [matlab.unittest.TestSuite.fromClass(?fullfile(testspath,test_requestnames_tcv)),...
-             matlab.unittest.TestSuite.fromClass(?fullfile(testspath,test_tcv_get_ids))];
+suite_all = [matlab.unittest.TestSuite.fromFile(fullfile(testspath,'test_requestnames_tcv.m')),...
+             matlab.unittest.TestSuite.fromFile(fullfile(testspath,'test_tcv_get_ids.m'))];
 
 [~,s] = lastwarn();
 if isequal(s,'MATLAB:unittest:TestSuite:FileExcluded')
-- 
GitLab