[Lldb-commits] [lldb] d96656c - [lldb] [test] Fix new signal tests to use remote-linux plugin

Michał Górny via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 10 09:08:24 PST 2021


Author: Michał Górny
Date: 2021-11-10T18:08:05+01:00
New Revision: d96656ca9011db77ebbf6e91f380fb8894cbf820

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

LOG: [lldb] [test] Fix new signal tests to use remote-linux plugin

Hopefully this will fix OSX and Windows buildbots

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteClient.py b/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteClient.py
index 96544f158fe7..7341fe13fa90 100644
--- a/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteClient.py
+++ b/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteClient.py
@@ -426,6 +426,7 @@ def cont(self):
 
         self.server.responder = MyResponder()
 
+        self.runCmd("platform select remote-linux")
         target = self.createTarget("a.yaml")
         process = self.connect(target)
 
@@ -434,7 +435,6 @@ def cont(self):
         self.assertEqual(process.threads[0].GetStopDescription(100),
                          'signal SIGBUS')
 
-    @skipIfWindows
     def test_signal_lldb_old(self):
         class MyResponder(MockGDBServerResponder):
             def qSupported(self, client_supported):
@@ -454,6 +454,7 @@ def cont(self):
 
         self.server.responder = MyResponder()
 
+        self.runCmd("platform select remote-linux")
         target = self.createTarget("a.yaml")
         process = self.connect(target)
 
@@ -462,7 +463,6 @@ def cont(self):
         self.assertEqual(process.threads[0].GetStopDescription(100),
                          'signal SIGUSR1')
 
-    @skipIfWindows
     def test_signal_lldb(self):
         class MyResponder(MockGDBServerResponder):
             def qSupported(self, client_supported):
@@ -479,6 +479,7 @@ def cont(self):
 
         self.server.responder = MyResponder()
 
+        self.runCmd("platform select remote-linux")
         target = self.createTarget("a.yaml")
         process = self.connect(target)
 


        


More information about the lldb-commits mailing list