aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2017-06-09 10:59:43 -0700
committerTim Newsome <tim@sifive.com>2017-06-09 11:01:17 -0700
commit6de31e5361b48afc2b1bfe4e6d2af72559f37e70 (patch)
tree47e82188c9599eaf19d0418adba2072ef7427a19
parent12b8a1a45d62c00cc4f1bc9d6d44948352c9615f (diff)
downloadriscv-tests-6de31e5361b48afc2b1bfe4e6d2af72559f37e70.zip
riscv-tests-6de31e5361b48afc2b1bfe4e6d2af72559f37e70.tar.gz
riscv-tests-6de31e5361b48afc2b1bfe4e6d2af72559f37e70.tar.bz2
Default to openocd, not riscv-openocd
AFAICT the normal build process never builds a binary called riscv-openocd.
-rw-r--r--debug/testlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/testlib.py b/debug/testlib.py
index 8855e24..27bef1a 100644
--- a/debug/testlib.py
+++ b/debug/testlib.py
@@ -161,7 +161,7 @@ class Openocd(object):
if server_cmd:
cmd = shlex.split(server_cmd)
else:
- openocd = os.path.expandvars("$RISCV/bin/riscv-openocd")
+ openocd = os.path.expandvars("$RISCV/bin/openocd")
cmd = [openocd]
if debug:
cmd.append("-d")