Commit 6d8c99a2 authored by Benjamin Blanc's avatar Benjamin Blanc

util: testnode UnitTestRunner.py additional_bt5 fix

Apply fix from commit : b111682f
parent 0efe3ee9
...@@ -140,9 +140,11 @@ class UnitTestRunner(): ...@@ -140,9 +140,11 @@ class UnitTestRunner():
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]])
# TODO : include testnode correction ( b111682f14890bf ) # TODO : include testnode correction ( b111682f14890bf )
bt5_path_list = config.get("bt5_path") if hasattr(node_test_suite,'additional_bt5_repository_id'):
if bt5_path_list not in ('', None,): additional_bt5_path = os.path.join(
invocation_list.extend(["--bt5_path", bt5_path_list]) node_test_suite.working_directory,
node_test_suite.additional_bt5_repository_id)
invocation_list.extend(["--bt5_path", additional_bt5_path])
# 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
# to run. # to run.
......
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