Skip to content
Snippets Groups Projects
Commit 21ac2dc9 authored by Federico Felici's avatar Federico Felici Committed by Olivier Sauter
Browse files

fix run_gdat_tests selector

parent 83b60d70
No related branches found
No related tags found
1 merge request!110Add test coverage and update test scripts
......@@ -57,16 +57,20 @@ switch lower(test_case)
suite = suite_all; % run all
case 'basic'
s = ~HasTag('slow');
suite = suite_all.selectIf(s);
case 'basic-tcv'
s = ~HasTag('slow') & HasName(ContainsSubstring('tcv'));
suite = suite_all.selectIf(s);
case 'tcv'
s = HasName(ContainsSubstring('tcv'));
suite = suite_all.selectIf(s);
case 'aug'
s = HasName(ContainsSubstring('aug'));
suite = suite_all.selectIf(s);
otherwise
s = HasTag(test_case);
suite = suite_all.selectIf(s);
end
suite = suite_all.selectIf(s);
if isempty(suite)
fprintf('\nEmpty test suite returned for TestTag=''%s''\n',test_case); return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment