Skip to content
Snippets Groups Projects
Commit 6cd01abd authored by auphelia's avatar auphelia
Browse files

[Test] Change test to pass port number to make deployment transformation

parent 7c4dea2e
No related branches found
No related tags found
No related merge requests found
......@@ -279,9 +279,10 @@ def test_end2end_tfc_w1a1_deploy_on_pynq():
if ip == "":
pytest.skip("PYNQ board IP address not specified")
username = os.getenv("PYNQ_USERNAME", "xilinx")
password = os.getenv("PYNQ_PASSWORD", "xilinx")
password = os.getenv("PYNQ_PASSWORD", "x1l1nx_f1nn")
port = os.getenv("PYNQ_PORT", 22)
target_dir = os.getenv("PYNQ_TARGET_DIR", "/home/xilinx/finn")
model = model.transform(DeployToPYNQ(ip, username, password, target_dir))
model = model.transform(DeployToPYNQ(ip, port, username, password, target_dir))
# save the model to be able to link it to the parent
model.save(build_dir + "/end2end_tfc_w1a1_pynq_deploy.onnx")
except KeyError:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment