瀏覽代碼

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

Pass the DUT port to parttool_example.py as an argument.
Ivan Grokhotkov 5 年之前
父節點
當前提交
fb43cfbf6a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/storage/parttool/example_test.py

+ 1 - 1
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__':