aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2017-09-12 11:20:27 -0700
committerTim Newsome <tim@sifive.com>2017-09-14 12:32:59 -0700
commitb6bc6a7c84188d2be78c69a345c884f76e7b4c38 (patch)
tree45b1e143d3e0d20fc34e3ab1850aee22bd7db912
parente0b295faa65c8e6bae880fc17a53d481ef74402f (diff)
downloadriscv-tests-b6bc6a7c84188d2be78c69a345c884f76e7b4c38.zip
riscv-tests-b6bc6a7c84188d2be78c69a345c884f76e7b4c38.tar.gz
riscv-tests-b6bc6a7c84188d2be78c69a345c884f76e7b4c38.tar.bz2
Clarify timeout units.
-rw-r--r--debug/testlib.py1
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)