Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gdat
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SPC
gdat
Merge requests
!12
Test staging
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Test staging
test-staging
into
master
Overview
0
Commits
1
Pipelines
7
Changes
2
Merged
Federico Felici
requested to merge
test-staging
into
master
5 years ago
Overview
0
Commits
1
Pipelines
7
Changes
2
Expand
Changes to gitlab-ci to be compatible with new staging approach.
Edited
5 years ago
by
Federico Felici
0
0
Merge request reports
Compare
master
version 3
bc893024
5 years ago
version 2
c96db2b1
5 years ago
version 1
f157a2b5
5 years ago
master (base)
and
latest version
latest version
55603a00
1 commit,
5 years ago
version 3
bc893024
15 commits,
5 years ago
version 2
c96db2b1
15 commits,
5 years ago
version 1
f157a2b5
14 commits,
5 years ago
2 files
+
49
−
19
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
matlab/tests_matlab.m
+
8
−
4
Options
function
tests_matlab
(
test_case
)
% function to call tests from test_script.sh
try
fprintf
(
'\n Running test file: %s\n'
,
mfilename
(
'fullpath'
));
fprintf
(
' Time: %s\n'
,
datestr
(
now
));
passed
=
run_gdat_tests
(
test_case
);
% add a call to your test script here, with optional test_case input
if
verLessThan
(
'matlab'
,
'8.5.0'
)
disp
(
'gdat tests do not work for matlab version <8.5.0, skipping tests'
);
passed
=
true
;
else
fprintf
(
'\n Running test file: %s\n'
,
mfilename
(
'fullpath'
));
fprintf
(
' Time: %s\n'
,
datestr
(
now
));
passed
=
run_gdat_tests
(
test_case
);
% add a call to your test script here, with optional test_case input
end
exit_code
=
int32
(
~
passed
);
% convert to bash shell convention
catch
ME
disp
(
getReport
(
ME
))
Loading