examples/parttool: fix the test to work on parallel test runner

Pass the DUT port to parttool_example.py as an argument.
customer/11kv_v4.0_xiaomi
Ivan Grokhotkov 2020-09-08 17:35:15 +02:00
rodzic 6093407d78
commit 2ebe7d13f4
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -28,7 +28,7 @@ def test_examples_parttool(env, extra_data):
binary_path = flash_file[1]
break
subprocess.check_call([sys.executable, script_path, "--binary", binary_path])
subprocess.check_call([sys.executable, script_path, "--binary", binary_path, "--port", dut.port])
if __name__ == '__main__':