aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Gagarin <gleb@sifive.com>2017-08-22 15:04:11 -0700
committerGleb Gagarin <gleb@sifive.com>2017-08-22 15:04:11 -0700
commitfc806380cfd240b2d062170ec75f0fbcaed5e81e (patch)
tree032d245196f7aca33c2d77fca730c5380424f425
parentd80764d4638dee078c33faac827fe77ddcd268ab (diff)
downloadriscv-tests-attempt-travis-fix.zip
riscv-tests-attempt-travis-fix.tar.gz
riscv-tests-attempt-travis-fix.tar.bz2
Increased GDB timeoutsattempt-travis-fix
-rwxr-xr-xdebug/gdbserver.py2
-rw-r--r--debug/targets.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/debug/gdbserver.py b/debug/gdbserver.py
index ed881e4..ec29ca7 100755
--- a/debug/gdbserver.py
+++ b/debug/gdbserver.py
@@ -408,7 +408,7 @@ class UserInterrupt(DebugTest):
self.gdb.c()
self.gdb.p("i=123")
self.gdb.c(wait=False)
- time.sleep(0.5)
+ time.sleep(15)
output = self.gdb.interrupt()
assert "main" in output
assertGreater(self.gdb.p("j"), 10)
diff --git a/debug/targets.py b/debug/targets.py
index 7183a38..fa3ef50 100644
--- a/debug/targets.py
+++ b/debug/targets.py
@@ -16,7 +16,7 @@ class Target(object):
xlen = 0
# GDB remotetimeout setting.
- timeout_sec = 2
+ timeout_sec = 20
# Path to OpenOCD configuration file relative to the .py file where the
# target is defined. Defaults to <name>.cfg.