Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
minicoin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Levon Sargsyan
minicoin
Commits
78f88599
Commit
78f88599
authored
5 years ago
by
Volker Hilsheimer
Browse files
Options
Downloads
Patches
Plain Diff
Run parse-opts test when calling test-job with --debug
parent
7e657e89
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
minicoin/jobs/test/main.cmd
+10
-0
10 additions, 0 deletions
minicoin/jobs/test/main.cmd
minicoin/jobs/test/main.sh
+9
-0
9 additions, 0 deletions
minicoin/jobs/test/main.sh
with
19 additions
and
0 deletions
minicoin/jobs/test/main.cmd
+
10
−
0
View file @
78f88599
@echo
off
@echo
off
SETLOCAL
ENABLEDELAYEDEXPANSION
call
c
:\minicoin\util\parse
-opts
.cmd
%
*
if
defined
FLAG_debug
(
echo
Running
parse
-opts-test
cd
c
:\minicoin\tests
call
parse
-opts-test
.cmd
exit
/B
%errorcode%
)
echo
Hello
runner
!
echo
Hello
runner
!
systeminfo
|
findstr
/B /C
:
"OS Name"
/C
:
"OS Version"
systeminfo
|
findstr
/B /C
:
"OS Name"
/C
:
"OS Version"
...
...
This diff is collapsed.
Click to expand it.
minicoin/jobs/test/main.sh
+
9
−
0
View file @
78f88599
.
/minicoin/util/parse-opts.sh
"
$@
"
if
[
!
-z
"
$FLAG_debug
"
]
;
then
echo
"Running parse-opts-test"
cd
/minicoin/tests
.
parse-opts-test.sh
exit
$?
fi
echo
"Hello runner!"
echo
"Hello runner!"
echo
"This is
$(
uname
-a
)
"
echo
"This is
$(
uname
-a
)
"
echo
"Args received:"
echo
"Args received:"
...
...
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