projects
/
riscv-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add block test.
[riscv-tests.git]
/
debug
/
testlib.py
diff --git
a/debug/testlib.py
b/debug/testlib.py
index e7397b2891be119b697e088a3932c6f4a898b9e1..bb604a7dcf4928f55dee37b91642c3c0c3a4faef 100644
(file)
--- a/
debug/testlib.py
+++ b/
debug/testlib.py
@@
-145,10
+145,12
@@
class Gdb(object):
return value
def stepi(self):
return value
def stepi(self):
- return self.command("stepi")
+ output = self.command("stepi")
+ assert "Cannot" not in output
+ return output
def load(self):
def load(self):
- output = self.command("load")
+ output = self.command("load"
, timeout=120
)
assert "failed" not in output
assert "Transfer rate" in output
assert "failed" not in output
assert "Transfer rate" in output