diff options
author | Pavel Labath <pavel@labath.sk> | 2019-04-02 07:47:38 +0000 |
---|---|---|
committer | Pavel Labath <pavel@labath.sk> | 2019-04-02 07:47:38 +0000 |
commit | 155bc16e7f5a96bcce5a7c30eec49d60098c1c92 (patch) | |
tree | 6766c90b3e0d2780a18f3d6000ce564461c41fe0 /lldb | |
parent | 9d1449246dd76a2e8c94bbeae055318356ee301a (diff) | |
download | bcm5719-llvm-155bc16e7f5a96bcce5a7c30eec49d60098c1c92.tar.gz bcm5719-llvm-155bc16e7f5a96bcce5a7c30eec49d60098c1c92.zip |
Simplify TestGdbRemoteRegisterState
While reviewing D56233 it became clear to me that this test can be
simplified. There's no need for a start-stop cycle in the inferior -- we
can start fiddling with its registers as soon as it is launched.
llvm-svn: 357451
Diffstat (limited to 'lldb')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteRegisterState.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteRegisterState.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteRegisterState.py index 3d9bb1d21bf..2543ed6e902 100644 --- a/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteRegisterState.py +++ b/lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteRegisterState.py @@ -24,15 +24,6 @@ class TestGdbRemoteRegisterState(gdbremote_testcase.GdbRemoteTestCaseBase): if with_suffix: self.add_thread_suffix_request_packets() self.add_threadinfo_collection_packets() - self.test_sequence.add_log_lines([ - # Start the inferior... - "read packet: $c#63", - # ... match output.... - {"type": "output_match", "regex": self.maybe_strict_output_regex( - r"message:main entered\r\n")}, - ], True) - # ... then interrupt. - self.add_interrupt_packets() context = self.expect_gdbremote_sequence() self.assertIsNotNone(context) |