From fc806380cfd240b2d062170ec75f0fbcaed5e81e Mon Sep 17 00:00:00 2001 From: Gleb Gagarin Date: Tue, 22 Aug 2017 15:04:11 -0700 Subject: Increased GDB timeouts --- debug/gdbserver.py | 2 +- debug/targets.py | 2 +- 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 .cfg. -- cgit v1.1