diff options
author | Tim Newsome <tim@sifive.com> | 2022-10-24 10:38:40 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-24 10:38:40 -0700 |
commit | fb8ab0e8e2dc3e385105674b01be6fe1288b5426 (patch) | |
tree | 245fa788c9521e3ebcd687b83e41a138250a9f1e /debug/testlib.py | |
parent | 7e77eedc514a6538e07b666c36449e54080054b7 (diff) | |
download | riscv-tests-fb8ab0e8e2dc3e385105674b01be6fe1288b5426.zip riscv-tests-fb8ab0e8e2dc3e385105674b01be6fe1288b5426.tar.gz riscv-tests-fb8ab0e8e2dc3e385105674b01be6fe1288b5426.tar.bz2 |
Increase timeouts for multi-spike test. (#423)
Between October 13 and October 19, something happened that makes the
multi-spike tests 4 times slower. Rolling back spike, OpenOCD, or
riscv-tests doesn't affect this. Presumably it's due to a kernel or
python change in my Ubuntu system.
I don't have time to look at this right now, so just increase the timeouts. :-(
If I had to guess, there could be a bug in rbb_daisychain.py that wastes
a lot of time.
Diffstat (limited to 'debug/testlib.py')
-rw-r--r-- | debug/testlib.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/debug/testlib.py b/debug/testlib.py index 682fd09..8255384 100644 --- a/debug/testlib.py +++ b/debug/testlib.py @@ -790,7 +790,9 @@ class Gdb: for child in self.children: child.expect(r"\(gdb\)") - def interrupt(self, ops=1): + def interrupt(self, ops=None): + if not ops: + ops = len(self.harts) self.active_child.send("\003") self.active_child.expect(r"\(gdb\)", timeout=self.timeout * ops) return self.active_child.before.strip().decode() |