diff options
author | Tim Newsome <tim@sifive.com> | 2017-08-28 12:11:49 -0700 |
---|---|---|
committer | Tim Newsome <tim@sifive.com> | 2017-08-28 12:11:49 -0700 |
commit | ab6c2ccaec192684cf4649d5d69bd105d738d1c7 (patch) | |
tree | d8b43605c85d79c5e62d7a6c294f99ca5f09f5b8 | |
parent | d80764d4638dee078c33faac827fe77ddcd268ab (diff) | |
download | riscv-tests-ab6c2ccaec192684cf4649d5d69bd105d738d1c7.zip riscv-tests-ab6c2ccaec192684cf4649d5d69bd105d738d1c7.tar.gz riscv-tests-ab6c2ccaec192684cf4649d5d69bd105d738d1c7.tar.bz2 |
Increase delay in UserInterrupt.
When a machine is very loaded, otherwise it could happen that we send
the interrupt before the resume has actually happened.
-rwxr-xr-x | debug/gdbserver.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/gdbserver.py b/debug/gdbserver.py index ed881e4..cbb1299 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(2) output = self.gdb.interrupt() assert "main" in output assertGreater(self.gdb.p("j"), 10) |