[Lldb-commits] [lldb] 8b50ffe - [lldb] [test] Remove test_step_multiprocess, it's unreliable

Michał Górny via lldb-commits lldb-commits at lists.llvm.org
Fri Aug 19 01:08:21 PDT 2022


Author: Michał Górny
Date: 2022-08-19T10:08:11+02:00
New Revision: 8b50ffe9fdc3cd457796857d3661e34490ef0490

URL: https://github.com/llvm/llvm-project/commit/8b50ffe9fdc3cd457796857d3661e34490ef0490
DIFF: https://github.com/llvm/llvm-project/commit/8b50ffe9fdc3cd457796857d3661e34490ef0490.diff

LOG: [lldb] [test] Remove test_step_multiprocess, it's unreliable

Sponsored by: The FreeBSD Foundation

Added: 
    

Modified: 
    lldb/test/API/functionalities/gdb_remote_client/TestContinue.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/functionalities/gdb_remote_client/TestContinue.py b/lldb/test/API/functionalities/gdb_remote_client/TestContinue.py
index 9c3fa66608d0..f0f0df81d321 100644
--- a/lldb/test/API/functionalities/gdb_remote_client/TestContinue.py
+++ b/lldb/test/API/functionalities/gdb_remote_client/TestContinue.py
@@ -66,25 +66,3 @@ class MyResponder(self.BaseResponder):
         target = self.createTarget("a.yaml")
         process = self.connect(target)
         self.assertPacketLogContains(["vCont;C13:p400.401"])
-
-    # uses 'S13' instead of 's' arm (the pc dance?), testing it on one
-    # arch should be entirely sufficient
-    @skipIf(archs=no_match(["x86_64"]))
-    def test_step_multiprocess(self):
-        class MyResponder(self.BaseResponder):
-            def other(self, packet):
-                if packet == "vCont?":
-                    return "vCont;c;C;s;S"
-                if packet.startswith("vCont;C"):
-                    return "S13"
-                if packet.startswith("vCont;s"):
-                    return "W00"
-                return ""
-
-        self.server.responder = MyResponder()
-        self.runCmd("platform select remote-linux")
-        target = self.createTarget("a.yaml")
-        process = self.connect(target)
-        thread = process.GetSelectedThread()
-        thread.StepInstruction(False)
-        self.assertPacketLogContains(["vCont;s:p400.401"])


        


More information about the lldb-commits mailing list