diff options
author | Tim Newsome <tim@sifive.com> | 2017-09-12 11:20:27 -0700 |
---|---|---|
committer | Tim Newsome <tim@sifive.com> | 2017-09-14 12:32:59 -0700 |
commit | b6bc6a7c84188d2be78c69a345c884f76e7b4c38 (patch) | |
tree | 45b1e143d3e0d20fc34e3ab1850aee22bd7db912 /debug/testlib.py | |
parent | e0b295faa65c8e6bae880fc17a53d481ef74402f (diff) | |
download | riscv-tests-b6bc6a7c84188d2be78c69a345c884f76e7b4c38.zip riscv-tests-b6bc6a7c84188d2be78c69a345c884f76e7b4c38.tar.gz riscv-tests-b6bc6a7c84188d2be78c69a345c884f76e7b4c38.tar.bz2 |
Clarify timeout units.
Diffstat (limited to 'debug/testlib.py')
-rw-r--r-- | debug/testlib.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/debug/testlib.py b/debug/testlib.py index 8ac616e..c41c332 100644 --- a/debug/testlib.py +++ b/debug/testlib.py @@ -333,6 +333,7 @@ class Gdb(object): self.child.expect(r"\(gdb\)") def command(self, command, timeout=6000): + """timeout is in seconds""" self.child.sendline(command) self.child.expect("\n", timeout=timeout) self.child.expect(r"\(gdb\)", timeout=timeout) |