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

Run all TCV tests in one job and split IMAS ones

parent 2fd1f6cc
No related branches found
No related tags found
1 merge request!110Add test coverage and update test scripts
...@@ -11,27 +11,45 @@ variables: ...@@ -11,27 +11,45 @@ variables:
# no build for gdat, so don't define jobs for build phase # no build for gdat, so don't define jobs for build phase
# test jobs # test jobs
#test-matlab-9.8.0: test-matlab-9.6.0-TCV:
# extends: .test-template extends: .test-template
# tags: tags:
# - lac8-gituser - lac8-gituser
# variables: variables:
# MATLABCMD: matlab980 MATLABCMD: matlab960
# TESTCASE: basic-tcv TESTCASE: tcv
artifacts:
paths:
- test_${TBXTARGET}_${TESTCASE}_2019a_cov.xml
reports:
junit: test_${TBXTARGET}_${TESTCASE}_2019a.xml
cobertura: test_${TBXTARGET}_${TESTCASE}_2019a_cov.xml
test-matlab-9.6.0: test-matlab-9.6.0-IMAS:
extends: .test-template extends: .test-template
tags: tags:
- lac8-gituser - lac8-gituser
variables: variables:
MATLABCMD: matlab960 MATLABCMD: matlab960
TESTCASE: basic-tcv TESTCASE: imas
artifacts:
paths:
- test_${TBXTARGET}_${TESTCASE}_2019a_cov.xml
reports:
junit: test_${TBXTARGET}_${TESTCASE}_2019a.xml
cobertura: test_${TBXTARGET}_${TESTCASE}_2019a_cov.xml
test-matlab-9.2.0: test-matlab-9.2.0-TCV:
extends: .test-template extends: .test-template
variables: variables:
MATLABCMD: matlab920 MATLABCMD: matlab920
TESTCASE: basic-tcv TESTCASE: tcv
test-matlab-9.2.0-IMAS:
extends: .test-template
variables:
MATLABCMD: matlab920
TESTCASE: imas
#test-matlab-9.8.0-all: #test-matlab-9.8.0-all:
# extends: test-matlab-9.8.0 # extends: test-matlab-9.8.0
...@@ -41,25 +59,9 @@ test-matlab-9.2.0: ...@@ -41,25 +59,9 @@ test-matlab-9.2.0:
# - schedules # - schedules
# - web # - web
test-matlab-9.6.0-all:
extends: test-matlab-9.6.0
variables:
TESTCASE: all
only:
- schedules
- web
artifacts:
paths:
- test_${TBXTARGET}_${TESTCASE}_2019a_cov.xml
reports:
junit: test_${TBXTARGET}_${TESTCASE}_2019a.xml
cobertura: test_${TBXTARGET}_${TESTCASE}_2019a_cov.xml
# Post test report collection # Post test report collection
code-coverage-960: code-coverage-960:
extends: .code-coverage-960-template extends: .code-coverage-960-template
only:
- scheduled
# Staging, testing and deployment for releases # Staging, testing and deployment for releases
pre-deployment-staging: pre-deployment-staging:
......
...@@ -63,12 +63,6 @@ end ...@@ -63,12 +63,6 @@ end
switch lower(test_case) switch lower(test_case)
case 'all' case 'all'
suite = suite_all; % run all 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' case 'tcv'
s = HasName(ContainsSubstring('tcv')); s = HasName(ContainsSubstring('tcv'));
suite = suite_all.selectIf(s); suite = suite_all.selectIf(s);
......
...@@ -5,7 +5,7 @@ function requests = get_all_gdat_requests(machine,testcase) ...@@ -5,7 +5,7 @@ function requests = get_all_gdat_requests(machine,testcase)
switch machine switch machine
% list of calls that take some time, to be skipped for fast tests % list of calls that take some time, to be skipped for fast tests
case 'TCV' case 'TCV'
slowlist = {'rtc','mhd','mpx','sxr','psi'}; slowlist = {'rtc','mpx','sxr','psi'};
case 'AUG' case 'AUG'
slowlist = {'sxr','cxrs','transp','te_rho','ne_rho','nete_rho',... slowlist = {'sxr','cxrs','transp','te_rho','ne_rho','nete_rho',...
'ece_rho','eced_rho','cxrs_rho','eqdsk','equil'}; 'ece_rho','eced_rho','cxrs_rho','eqdsk','equil'};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment