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