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)
 


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to