From b2e3987ed2fea6a64ea115109f5ba1a4034a4f34 Mon Sep 17 00:00:00 2001
From: Federico Felici <federico.felici@epfl.ch>
Date: Tue, 9 Jul 2019 16:37:33 +0200
Subject: [PATCH] Define testcase basic-tcv

This test passes now
---
 matlab/run_gdat_tests.m | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/matlab/run_gdat_tests.m b/matlab/run_gdat_tests.m
index 611ed527..d49813b7 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
-- 
GitLab