Commit 5c65f575 authored by Benjamin Blanc's avatar Benjamin Blanc

Add link_to_testsuite_directory

parent 7a33df03
...@@ -75,6 +75,7 @@ def main(*args): ...@@ -75,6 +75,7 @@ def main(*args):
config.readfp(parsed_argument.configuration_file[0]) config.readfp(parsed_argument.configuration_file[0])
for key in ('slapos_directory','working_directory','test_suite_directory', for key in ('slapos_directory','working_directory','test_suite_directory',
'log_directory','run_directory', 'srv_directory', 'proxy_host', 'log_directory','run_directory', 'srv_directory', 'proxy_host',
'link_to_testsuite_directory',
'proxy_port', 'git_binary','zip_binary','node_quantity', 'proxy_port', 'git_binary','zip_binary','node_quantity',
'test_node_title', 'ipv4_address','ipv6_address','test_suite_master_url', 'test_node_title', 'ipv4_address','ipv6_address','test_suite_master_url',
'slapgrid_partition_binary','slapgrid_software_binary', 'slapgrid_partition_binary','slapgrid_software_binary',
...@@ -83,7 +84,7 @@ def main(*args): ...@@ -83,7 +84,7 @@ def main(*args):
CONFIG[key] = config.get('testnode',key) CONFIG[key] = config.get('testnode',key)
for key in ('slapos_directory', 'working_directory', 'test_suite_directory', 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] d = CONFIG[key]
if not os.path.isdir(d): if not os.path.isdir(d):
raise ValueError('Directory %r does not exists.' % d) raise ValueError('Directory %r does not exists.' % d)
......
...@@ -299,6 +299,12 @@ branch = %(branch)s ...@@ -299,6 +299,12 @@ branch = %(branch)s
test_node_slapos.edit(working_directory=self.config['slapos_directory']) test_node_slapos.edit(working_directory=self.config['slapos_directory'])
## /BLOCK OK ## /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: try:
while True: while True:
try: try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment