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
f9456285
Commit
f9456285
authored
8 months ago
by
Olivier Sauter
Browse files
Options
Downloads
Patches
Plain Diff
add cd in test
parent
3bb81705
No related branches found
Branches containing commit
Tags
crpptbx-release-v4.3.95
Tags containing commit
1 merge request
!168
D3d add nete rho
Pipeline
#205302
failed
8 months ago
Stage: pre-deploy
Stage: staging
Stage: test-staging
Stage: deploy
Stage: test-deploy
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+0
-3
0 additions, 3 deletions
.gitlab-ci.yml
matlab/tests/test_requestnames.m
+9
-1
9 additions, 1 deletion
matlab/tests/test_requestnames.m
with
9 additions
and
4 deletions
.gitlab-ci.yml
+
0
−
3
View file @
f9456285
...
...
@@ -76,9 +76,6 @@ deploy:
# test post-deploy
test-post-deploy-matlab-9.2.0_tcv
:
extends
:
.test-post-deploy-template
script
:
-
export
-
mkdir -f /tmp/$USER; cd /tmp/$USER
variables
:
MATLABCMD
:
matlab920
...
...
This diff is collapsed.
Click to expand it.
matlab/tests/test_requestnames.m
+
9
−
1
View file @
f9456285
...
...
@@ -16,9 +16,17 @@ classdef (SharedTestFixtures={...
methods
(
Static
)
function
test_gdat_call
(
testCase
,
shot
,
request
)
% actual function to test gdat call
import
matlab
.
unittest
.
fixtures
.
WorkingFolderFixture
;
testCase
.
assertTrue
(
isnumeric
(
str2double
(
shot
)));
testCase
.
assertTrue
(
ischar
(
request
));
pwd
dirname_for_test
=
sprintf
(
'/tmp/%s/gdat'
,
getenv
(
'USER'
));
% to have write permission
[
dummy1
,
dummy2
]
=
rmdir
(
dirname_for_test
,
's'
);
mkdir
(
dirname_for_test
);
f
=
WorkingFolderFixture
(
dirname_for_test
);
testCase
.
applyFixture
(
f
);
pwd
% gdat call
gdat_call
=
sprintf
([
'gdat_'
lower
(
testCase
.
Machine
)
'(%s,
''
%s
''
)'
],
shot
,
request
);
do_gdat_call
=
1
;
...
...
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