[lldb/test] Remove a double debugserver launch in TestGdbRemoteGPacket
authorPavel Labath <pavel@labath.sk>
Fri, 30 Oct 2020 13:24:21 +0000 (14:24 +0100)
committerPavel Labath <pavel@labath.sk>
Fri, 30 Oct 2020 13:27:50 +0000 (14:27 +0100)
Debug server is already launched by prep_debug_monitor_and_inferior. The
second seems to have been benign so far, but after 8cc49bec2 this test
started failing frequently on GreenDragon, and this is the only unusual
thing about it.

lldb/test/API/tools/lldb-server/register-reading/TestGdbRemoteGPacket.py

index a499b94..b13bc91 100644 (file)
@@ -37,7 +37,6 @@ class TestGdbRemoteGPacket(gdbremote_testcase.GdbRemoteTestCaseBase):
              {"direction": "send", "regex": r"^\$(.+)#[0-9a-fA-F]{2}$",
               "capture": {1: "register_bank"}}],
             True)
-        self.connect_to_debug_monitor()
         context = self.expect_gdbremote_sequence()
         register_bank = context.get("register_bank")
         self.assertNotEqual(register_bank[0], 'E')