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-12 19:15:06 -0700
commit6dad445cd0ba050fba93a346589674eb3471521e (patch)
tree03ac9b209f10d0d90439ecbbc274bb6d073571ea
parent7ab046f286a5356049221946dea36ee755a13346 (diff)
downloadriscv-tests-6dad445cd0ba050fba93a346589674eb3471521e.zip
riscv-tests-6dad445cd0ba050fba93a346589674eb3471521e.tar.gz
riscv-tests-6dad445cd0ba050fba93a346589674eb3471521e.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)