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
Commits
8930ac69
Commit
8930ac69
authored
7 months ago
by
Olivier Sauter
Browse files
Options
Downloads
Plain Diff
Merge branch 'test_deploy' into d3d_add_nete_rho
parents
a173a461
60667bb7
No related branches found
No related tags found
1 merge request
!168
D3d add nete rho
Pipeline
#207385
passed
7 months ago
Stage: test
Stage: post-test
Changes
1
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
matlab/tests/test_requestnames.m
+5
-0
5 additions, 0 deletions
matlab/tests/test_requestnames.m
with
5 additions
and
0 deletions
matlab/tests/test_requestnames.m
+
5
−
0
View file @
8930ac69
...
@@ -16,8 +16,13 @@ classdef (SharedTestFixtures={...
...
@@ -16,8 +16,13 @@ classdef (SharedTestFixtures={...
methods
(
Static
)
methods
(
Static
)
function
test_gdat_call
(
testCase
,
shot
,
request
)
function
test_gdat_call
(
testCase
,
shot
,
request
)
% actual function to test gdat call
% actual function to test gdat call
import
matlab
.
unittest
.
fixtures
.
WorkingFolderFixture
;
testCase
.
assertTrue
(
isnumeric
(
str2double
(
shot
)));
testCase
.
assertTrue
(
isnumeric
(
str2double
(
shot
)));
testCase
.
assertTrue
(
ischar
(
request
));
testCase
.
assertTrue
(
ischar
(
request
));
% move to a /tmp/xx folder so if fort.0 files or others are created, it can
f
=
matlab
.
unittest
.
fixtures
.
WorkingFolderFixture
(
'withsuffix'
,
'_gdat'
);
testCase
.
applyFixture
(
f
);
% gdat call
% gdat call
gdat_call
=
sprintf
([
'gdat_'
lower
(
testCase
.
Machine
)
'(%s,
''
%s
''
)'
],
shot
,
request
);
gdat_call
=
sprintf
([
'gdat_'
lower
(
testCase
.
Machine
)
'(%s,
''
%s
''
)'
],
shot
,
request
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment