diff options
author | Tim Newsome <tim@sifive.com> | 2016-05-04 18:51:26 -0700 |
---|---|---|
committer | Tim Newsome <tim@sifive.com> | 2016-05-23 12:12:12 -0700 |
commit | dd233bc49946aa059b6ea9494b870d20076ce1b8 (patch) | |
tree | c873d001c46e7935258091b1a938da53d54bbfd6 /tests | |
parent | 6ef848928a5e2d72d9b0aed66f669b7b9a80b49a (diff) | |
download | spike-dd233bc49946aa059b6ea9494b870d20076ce1b8.zip spike-dd233bc49946aa059b6ea9494b870d20076ce1b8.tar.gz spike-dd233bc49946aa059b6ea9494b870d20076ce1b8.tar.bz2 |
Single step appears to work.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/gdbserver.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/gdbserver.py b/tests/gdbserver.py index 90ebbe9..c3c2eca 100755 --- a/tests/gdbserver.py +++ b/tests/gdbserver.py @@ -36,9 +36,10 @@ class DebugTest(unittest.TestCase): def test_breakpoint(self): self.gdb.command("b print_row") # The breakpoint should be hit exactly 10 times. - for _ in range(10): + for i in range(10): output = self.gdb.command("c") self.assertIn("Continuing", output) + self.assertIn("length=%d" % i, output) self.assertIn("Breakpoint 1", output) output = self.gdb.command("c") self.assertIn("Continuing", output) |