Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.toolbox
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
slapos.toolbox
Commits
b0f60de7
Commit
b0f60de7
authored
Nov 14, 2014
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
resiliency tests: add support for erp5testnode by setting correct names for CLI arguments.
parent
78a76bc8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
slapos/resiliencytest/__init__.py
slapos/resiliencytest/__init__.py
+12
-5
No files found.
slapos/resiliencytest/__init__.py
View file @
b0f60de7
...
...
@@ -51,7 +51,7 @@ def parseArguments():
Parse arguments.
"""
parser
=
argparse
.
ArgumentParser
()
parser
.
add_argument
(
'--test-result-path'
,
parser
.
add_argument
(
'--test-result-path'
,
'--test_result_path'
,
metavar
=
'ERP5_TEST_RESULT_PATH'
,
help
=
'ERP5 relative path of the test result'
)
...
...
@@ -59,20 +59,27 @@ def parseArguments():
metavar
=
'REVISION'
,
help
=
'Revision of the test_suite'
)
parser
.
add_argument
(
'--test-suite'
,
parser
.
add_argument
(
'--test-suite'
,
'--test_suite'
,
metavar
=
'TEST_SUITE'
,
help
=
'Name of the test suite'
)
parser
.
add_argument
(
'--node-title'
,
parser
.
add_argument
(
'--test-suite-title'
,
'--test_suite_title'
,
metavar
=
'TEST_SUITE'
,
help
=
'The test suite title'
)
parser
.
add_argument
(
'--node-title'
,
'--test_node_title'
,
metavar
=
'NODE_TITLE'
,
help
=
'Title of the testnode which is running this'
'launcher'
)
parser
.
add_argument
(
'--test-suite-master-url'
,
parser
.
add_argument
(
'--node_quantity'
,
help
=
'Number of parallel tests to run'
,
default
=
1
,
type
=
int
)
parser
.
add_argument
(
'--test-suite-master-url'
,
'--master_url'
,
metavar
=
'TEST_SUITE_MASTER_URL'
,
help
=
'Url to connect to the ERP5 Master testsuite taskditributor'
)
parser
.
add_argument
(
'--log-path'
,
parser
.
add_argument
(
'--log-path'
,
'--log_path'
,
metavar
=
'LOG_PATH'
,
help
=
'Log Path'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment