Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Jérome Perrin
erp5
Commits
152bbdfb
Commit
152bbdfb
authored
May 09, 2024
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests/runTestSuite: typos and minor cleanups
parent
233d8641
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
product/ERP5Type/tests/runTestSuite.py
product/ERP5Type/tests/runTestSuite.py
+4
-4
No files found.
product/ERP5Type/tests/runTestSuite.py
View file @
152bbdfb
#!/usr/bin/env python2.7
from
__future__
import
absolute_import
from
__future__
import
absolute_import
from
__future__
import
print_function
from
__future__
import
print_function
import
argparse
,
sys
,
os
,
textwrap
import
argparse
,
sys
,
os
,
textwrap
...
@@ -55,10 +54,11 @@ def main():
...
@@ -55,10 +54,11 @@ def main():
Running a full test suite on a development machine can be achieved with:
Running a full test suite on a development machine can be achieved with:
%(prog)s --node_quantity=3 --test_suite=ERP5 --xvfb_bin=/path/to/Xvfb --firefox_bin=/path/to/firefox
%(prog)s --node_quantity=3 --test_suite=ERP5 --xvfb_bin=/path/to/Xvfb --firefox_bin=/path/to/firefox
'''
))
'''
))
# Parameters included in wrappers generated by SlapOS ERP5 software release.
# Parameters included in wrappers generated by SlapOS ERP5 software release.
# To handle backward compatibity, we prefer that the generated wrapper pass
# To handle backward compatibi
li
ty, we prefer that the generated wrapper pass
# these parameters as environment variables. This way, if SlapOS SR is more
# these parameters as environment variables. This way, if SlapOS SR is more
# recent, the parameter will be ignored by ERP5.
# recent, the parameter will be ignored by ERP5.
slapos_wrapper_group
=
parser
.
add_argument_group
(
slapos_wrapper_group
=
parser
.
add_argument_group
(
...
@@ -76,12 +76,12 @@ def main():
...
@@ -76,12 +76,12 @@ def main():
slapos_wrapper_group
.
add_argument
(
'--bt5_path'
,
default
=
None
)
slapos_wrapper_group
.
add_argument
(
'--bt5_path'
,
default
=
None
)
slapos_wrapper_group
.
add_argument
(
slapos_wrapper_group
.
add_argument
(
'--zserver_address_list'
,
'--zserver_address_list'
,
help
=
'A list of comma sep
e
rated host:port for ZServer.
\
n
'
help
=
'A list of comma sep
a
rated host:port for ZServer.
\
n
'
'Also taken from zserver_address_list environment variable.'
,
'Also taken from zserver_address_list environment variable.'
,
default
=
os
.
getenv
(
'zserver_address_list'
,
''
))
default
=
os
.
getenv
(
'zserver_address_list'
,
''
))
slapos_wrapper_group
.
add_argument
(
slapos_wrapper_group
.
add_argument
(
'--zserver_frontend_url_list'
,
'--zserver_frontend_url_list'
,
help
=
'A list of comma sep
e
rated frontend URLs, one for each of zserver_address_list,'
help
=
'A list of comma sep
a
rated frontend URLs, one for each of zserver_address_list,'
'in the same order.
\
n
Also taken from zserver_frontend_url_list environment variable'
,
'in the same order.
\
n
Also taken from zserver_frontend_url_list environment variable'
,
default
=
os
.
getenv
(
'zserver_frontend_url_list'
,
''
))
default
=
os
.
getenv
(
'zserver_frontend_url_list'
,
''
))
...
...
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