diff --git a/matlab/run_gdat_tests.m b/matlab/run_gdat_tests.m index 611ed527ba411442b2700e8b37fc5e13ca6cd320..d49813b7221b87840e3bc59af506c8021694136e 100644 --- a/matlab/run_gdat_tests.m +++ b/matlab/run_gdat_tests.m @@ -4,7 +4,7 @@ function [passed,results] = run_gdat_tests(test_case) % F. Felici, EPFL federico.felici@epfl.ch if nargin==0 || isempty(test_case) - test_case = 'basic'; % default + test_case = 'basic-tcv'; % default end test_case = lower(test_case); @@ -25,8 +25,8 @@ suite_all = [matlab.unittest.TestSuite.fromClass(?test_requestnames_tcv),... switch test_case case 'all' suite = suite_all; % run all - case 'basic' - s = ~HasTag('slow'); + case 'basic-tcv' + s = ~HasTag('slow') & HasName(ContainsSubstring('tcv')); suite = suite_all.selectIf(s); case 'imas' s = HasTag('imas'); @@ -39,7 +39,7 @@ switch test_case suite = suite_all.selectIf(s); otherwise - error('not yet implemented') + error('unknown test_case %s',test_case) end %% run it