diff options
-rw-r--r-- | debug/testlib.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/debug/testlib.py b/debug/testlib.py index 8ba51e2..d3fee5c 100644 --- a/debug/testlib.py +++ b/debug/testlib.py @@ -871,6 +871,9 @@ class Gdb: self.active_child.expect("stepi", timeout=self.timeout) return "" + def expect(self, text, ops=1): + return self.active_child.expect(text, timeout=ops * self.timeout) + def load(self): output = self.system_command("load", ops=1000) assert "failed" not in output |