Commit cdf66f7e authored by Benjamin Blanc's avatar Benjamin Blanc

Fix bt5_path into testnode

parent 0ee3eaa0
...@@ -374,8 +374,15 @@ branch = %(branch)s ...@@ -374,8 +374,15 @@ branch = %(branch)s
invocation_list.extend(["--firefox_bin", firefox_bin_list[0]]) invocation_list.extend(["--firefox_bin", firefox_bin_list[0]])
if '--xvfb_bin' in supported_paramater_set: if '--xvfb_bin' in supported_paramater_set:
invocation_list.extend(["--xvfb_bin", xvfb_bin_list[0]]) invocation_list.extend(["--xvfb_bin", xvfb_bin_list[0]])
bt5_path_list = config.get("bt5_path") bt5_path_list = []
if bt5_path_list not in ('', None,): if config.get("bt5_path"):
bt5_path_list.append(config.get("bt5_path"))
if hasattr(node_test_suite,'additional_bt5_repository_id'):
additional_bt5_path = os.path.join(
node_test_suite.working_directory,
node_test_suite.additional_bt5_repository_id)
bt5_path_list.append(additional_bt5_path)
if len(bt5_path_list) > 0:
invocation_list.extend(["--bt5_path", bt5_path_list]) invocation_list.extend(["--bt5_path", bt5_path_list])
# From this point, test runner becomes responsible for updating test # From this point, test runner becomes responsible for updating test
# result. We only do cleanup if the test runner itself is not able # result. We only do cleanup if the test runner itself is not able
......
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