[lldb] [test] Fix new signal tests to use remote-linux plugin
authorMichał Górny <mgorny@moritz.systems>
Wed, 10 Nov 2021 17:07:36 +0000 (18:07 +0100)
committerMichał Górny <mgorny@moritz.systems>
Wed, 10 Nov 2021 17:08:05 +0000 (18:08 +0100)
Hopefully this will fix OSX and Windows buildbots

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

index 96544f1..7341fe1 100644 (file)
@@ -426,6 +426,7 @@ class TestGDBRemoteClient(GDBRemoteTestBase):
 
         self.server.responder = MyResponder()
 
+        self.runCmd("platform select remote-linux")
         target = self.createTarget("a.yaml")
         process = self.connect(target)
 
@@ -434,7 +435,6 @@ class TestGDBRemoteClient(GDBRemoteTestBase):
         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 @@ class TestGDBRemoteClient(GDBRemoteTestBase):
 
         self.server.responder = MyResponder()
 
+        self.runCmd("platform select remote-linux")
         target = self.createTarget("a.yaml")
         process = self.connect(target)
 
@@ -462,7 +463,6 @@ class TestGDBRemoteClient(GDBRemoteTestBase):
         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 @@ class TestGDBRemoteClient(GDBRemoteTestBase):
 
         self.server.responder = MyResponder()
 
+        self.runCmd("platform select remote-linux")
         target = self.createTarget("a.yaml")
         process = self.connect(target)