projects
/
riscv-tests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ec77dd
)
Increase delay in UserInterrupt.
author
Tim Newsome
<tim@sifive.com>
Mon, 2 Jan 2017 20:59:41 +0000
(12:59 -0800)
committer
Tim Newsome
<tim@sifive.com>
Mon, 2 Jan 2017 20:59:41 +0000
(12:59 -0800)
This makes the test pass reliably (10/10) against the Arty board.
Previously it failed intermittently.
debug/gdbserver.py
patch
|
blob
|
history
diff --git
a/debug/gdbserver.py
b/debug/gdbserver.py
index 9dfea39fda3630004109ce484b845aa90e099087..3d4533e1393960787ede1ac4c6067d74c5d757be 100755
(executable)
--- a/
debug/gdbserver.py
+++ b/
debug/gdbserver.py
@@
-386,7
+386,7
@@
class UserInterrupt(DebugTest):
self.gdb.c()
self.gdb.p("i=123")
self.gdb.c(wait=False)
- time.sleep(0.
1
)
+ time.sleep(0.
5
)
output = self.gdb.interrupt()
assert "main" in output
assertGreater(self.gdb.p("j"), 10)