projects
/
riscv-tests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
1fab0e2
)
Increase "load" timeout.
author
Tim Newsome
<tim@sifive.com>
Thu, 16 Jun 2016 17:06:38 +0000
(10:06 -0700)
committer
Tim Newsome
<tim@sifive.com>
Tue, 19 Jul 2016 01:51:54 +0000
(18:51 -0700)
debug/testlib.py
patch
|
blob
|
history
diff --git
a/debug/testlib.py
b/debug/testlib.py
index 53e670ec51c006fa96cbb0ea2f201e5f77fb7f7c..e749a1a7919bbf2827559e098fc187657ee7aa69 100644
(file)
--- a/
debug/testlib.py
+++ b/
debug/testlib.py
@@
-102,8
+102,8
@@
class Openocd(object):
pass
class Gdb(object):
pass
class Gdb(object):
- def __init__(self
):
- path = os.path.expandvars("$RISCV/bin/riscv64-unknown-elf-gdb")
+ def __init__(self
,
+ path=os.path.expandvars("$RISCV/bin/riscv64-unknown-elf-gdb")):
self.child = pexpect.spawn(path)
self.child.logfile = file("gdb.log", "w")
self.wait()
self.child = pexpect.spawn(path)
self.child.logfile = file("gdb.log", "w")
self.wait()
@@
-153,7
+153,7
@@
class Gdb(object):
return output
def load(self):
return output
def load(self):
- output = self.command("load")
+ output = self.command("load"
, timeout=60
)
assert "failed" not in output
assert "Transfer rate" in output
assert "failed" not in output
assert "Transfer rate" in output