Skip to content
Snippets Groups Projects
Commit d7ea026e authored by RafaeNoor's avatar RafaeNoor
Browse files

Merge branch 'hpvm-release-epochs0' of...

Merge branch 'hpvm-release-epochs0' of https://gitlab.engr.illinois.edu/llvm/hpvm into hpvm-release-epochs0
parents 3918e8f6 7d29779a
No related branches found
No related tags found
No related merge requests found
......@@ -7,4 +7,4 @@
url = https://github.com/nvdla/sw.git
[submodule "hpvm/projects/distiller"]
path = hpvm/projects/distiller
url = git@gitlab.engr.illinois.edu:llvm/distiller.git
url = https://gitlab.engr.illinois.edu/llvm/distiller.git
......@@ -38,7 +38,7 @@ def run_test_over_ssh(host: str, password: str, working_dir: str, image_dir: Pat
print(f"Running test on remote host {host}...")
args = options.split(" ") + [host]
child = pexpect.spawn("ssh", args, timeout=60)
child = pexpect.spawn("ssh", args, timeout=None)
child.expect(r"password:")
child.sendline(password)
child.expect("# ") # The bash prompt
......@@ -49,7 +49,7 @@ def run_test_over_ssh(host: str, password: str, working_dir: str, image_dir: Pat
remote_path = f"{image_dir.name}/{image.name}"
print(f"Sending {image.name} to run")
child.sendline(f"./nvdla_runtime --loadable {BUFFER_NAME} --image {remote_path} --rawdump")
child.expect("# ")
child.expect("Test pass")
child.sendline("cat output.dimg")
child.expect("# ")
result_lines = child.before.decode().splitlines()
......
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