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
aadd3801
Commit
aadd3801
authored
4 years ago
by
Olivier Sauter
Browse files
Options
Downloads
Patches
Plain Diff
avoid test scd as asked for rtc
parent
376ba369
No related branches found
No related tags found
1 merge request
!81
fix rtc to use new getscd_mems function
Pipeline
#55949
passed
4 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
matlab/tests/test_requestnames.m
+11
-2
11 additions, 2 deletions
matlab/tests/test_requestnames.m
with
11 additions
and
2 deletions
matlab/tests/test_requestnames.m
+
11
−
2
View file @
aadd3801
...
...
@@ -34,15 +34,24 @@ testCase.assertTrue(ischar(request));
% gdat call
gdat_call
=
sprintf
([
'gdat_'
lower
(
testCase
.
Machine
)
'(%s,
''
%s
''
)'
],
shot
,
request
);
if
strcmp
(
request
,
'eqdsk'
)
do_gdat_call
=
1
;
switch
request
case
'eqdsk'
% avoid writing files in /tmp, may not be allowed
gdat_call
=
sprintf
([
'gdat_'
lower
(
testCase
.
Machine
)
'(%s,
''
%s
''
,
''
write
''
,0)'
],
shot
,
request
);
case
'scd'
% scd dummy call with error information in gdat, do not do test (done with rtc)
do_gdat_call
=
0
;
end
% logging
fprintf
(
'Testing gdat call: %s\n'
,
gdat_call
);
gdat_out
=
eval
(
gdat_call
);
%#ok<NASGU>
if
do_gdat_call
gdat_out
=
eval
(
gdat_call
);
%#ok<NASGU>
else
gdat_out
=
struct
([]);
end
% in some future: check for warnings
%gdat_out = verifyWarningFree(testCase,eval(gdat_call),...
...
...
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