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
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alecs_myu
erp5
Commits
5c65f575
Commit
5c65f575
authored
Jun 14, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add link_to_testsuite_directory
parent
7a33df03
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
erp5/util/testnode/__init__.py
erp5/util/testnode/__init__.py
+2
-1
erp5/util/testnode/testnode.py
erp5/util/testnode/testnode.py
+6
-0
No files found.
erp5/util/testnode/__init__.py
View file @
5c65f575
...
...
@@ -75,6 +75,7 @@ def main(*args):
config
.
readfp
(
parsed_argument
.
configuration_file
[
0
])
for
key
in
(
'slapos_directory'
,
'working_directory'
,
'test_suite_directory'
,
'log_directory'
,
'run_directory'
,
'srv_directory'
,
'proxy_host'
,
'link_to_testsuite_directory'
,
'proxy_port'
,
'git_binary'
,
'zip_binary'
,
'node_quantity'
,
'test_node_title'
,
'ipv4_address'
,
'ipv6_address'
,
'test_suite_master_url'
,
'slapgrid_partition_binary'
,
'slapgrid_software_binary'
,
...
...
@@ -83,7 +84,7 @@ def main(*args):
CONFIG
[
key
]
=
config
.
get
(
'testnode'
,
key
)
for
key
in
(
'slapos_directory'
,
'working_directory'
,
'test_suite_directory'
,
'log_directory'
,
'run_directory'
):
'log_directory'
,
'run_directory'
,
'srv_directory'
,
'link_to_testsuite_directory'
):
d
=
CONFIG
[
key
]
if
not
os
.
path
.
isdir
(
d
):
raise
ValueError
(
'Directory %r does not exists.'
%
d
)
...
...
erp5/util/testnode/testnode.py
View file @
5c65f575
...
...
@@ -299,6 +299,12 @@ branch = %(branch)s
test_node_slapos
.
edit
(
working_directory
=
self
.
config
[
'slapos_directory'
])
## /BLOCK OK
time
.
sleep
(
5
)
print
config
[
'link_to_testsuitedirectory'
]
print
config
[
'link_to_testsuitedirectory'
]
print
config
[
'link_to_testsuitedirectory'
]
print
config
[
'link_to_testsuitedirectory'
]
try
:
while
True
:
try
:
...
...
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