From: Tim Newsome Date: Tue, 12 Sep 2017 18:20:27 +0000 (-0700) Subject: Clarify timeout units. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b6bc6a7c84188d2be78c69a345c884f76e7b4c38;p=riscv-tests.git Clarify timeout units. --- 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)