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

Use runTestSuite not runUnitTest.

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