Commit 9fd92549 authored by Łukasz Nowak's avatar Łukasz Nowak

Use runTestSuite not runUnitTest.

parent 887aa655
...@@ -82,8 +82,8 @@ def main(*args): ...@@ -82,8 +82,8 @@ def main(*args):
open(CONFIG['slapos_config'], 'w').write(slapos_config) open(CONFIG['slapos_config'], 'w').write(slapos_config)
CONFIG['git_binary'] = geto('git_binary') CONFIG['git_binary'] = geto('git_binary')
CONFIG['zip_binary'] = geto('zip_binary') CONFIG['zip_binary'] = geto('zip_binary')
CONFIG['runUnitTest'] = os.path.join(CONFIG['instance_root'], CONFIG['runTestSuite'] = os.path.join(CONFIG['instance_root'],
CONFIG['partition_reference'], 'bin', 'runUnitTest') CONFIG['partition_reference'], 'bin', 'runTestSuite')
# generate vcs_repository_list # generate vcs_repository_list
vcs_repository_list = [] vcs_repository_list = []
......
...@@ -219,10 +219,7 @@ branch = %(branch)s ...@@ -219,10 +219,7 @@ branch = %(branch)s
retry_software = True retry_software = True
raise SubprocessError(status_dict) raise SubprocessError(status_dict)
partition_path = os.path.join(config['instance_root'], run_test_suite_path = config['runTestSuite']
config['partition_reference'])
run_test_suite_path = os.path.join(partition_path, 'bin',
'runTestSuite')
if not os.path.exists(run_test_suite_path): if not os.path.exists(run_test_suite_path):
raise SubprocessError({ raise SubprocessError({
'command': 'os.path.exists(run_test_suite_path)', 'command': 'os.path.exists(run_test_suite_path)',
......
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