[Lldb-commits] [lldb] 62286c5 - [lldb/test] Remove a double debugserver launch in TestGdbRemoteGPacket

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 30 06:28:02 PDT 2020


Author: Pavel Labath
Date: 2020-10-30T14:27:50+01:00
New Revision: 62286c569d84c81236522c386a67e60f8f333f63

URL: https://github.com/llvm/llvm-project/commit/62286c569d84c81236522c386a67e60f8f333f63
DIFF: https://github.com/llvm/llvm-project/commit/62286c569d84c81236522c386a67e60f8f333f63.diff

LOG: [lldb/test] Remove a double debugserver launch in TestGdbRemoteGPacket

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.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/tools/lldb-server/register-reading/TestGdbRemoteGPacket.py b/lldb/test/API/tools/lldb-server/register-reading/TestGdbRemoteGPacket.py
index a499b941568c..b13bc91d47da 100644
--- a/lldb/test/API/tools/lldb-server/register-reading/TestGdbRemoteGPacket.py
+++ b/lldb/test/API/tools/lldb-server/register-reading/TestGdbRemoteGPacket.py
@@ -37,7 +37,6 @@ def run_test_g_packet(self):
              {"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')


        


More information about the lldb-commits mailing list