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

Define testcase basic-tcv

This test passes now
parent a467ff68
No related branches found
No related tags found
1 merge request!4Feature/testsuite
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment