From 2ebe7d13f42ed1a594f210d73acadf888deb5843 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Tue, 8 Sep 2020 17:35:15 +0200 Subject: [PATCH] examples/parttool: fix the test to work on parallel test runner Pass the DUT port to parttool_example.py as an argument. --- examples/storage/parttool/example_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/storage/parttool/example_test.py b/examples/storage/parttool/example_test.py index 1b7229ba06..1765a87a75 100644 --- a/examples/storage/parttool/example_test.py +++ b/examples/storage/parttool/example_test.py @@ -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__':