Skip 'g' packet tests when running on darwin; debugserver doesn't impl
authorJason Molenda <jason@molenda.com>
Fri, 15 Jan 2021 21:57:59 +0000 (13:57 -0800)
committerJason Molenda <jason@molenda.com>
Fri, 15 Jan 2021 21:57:59 +0000 (13:57 -0800)
Differential Revision: https://reviews.llvm.org/D94754

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

index 63f2e97..2e02a2c 100644 (file)
@@ -130,6 +130,7 @@ class TestGdbRemoteGPacket(gdbremote_testcase.GdbRemoteTestCaseBase):
 
     @expectedFailureAll(oslist=["freebsd"], bugnumber="llvm.org/pr48420")
     @expectedFailureNetBSD
+    @skipIfDarwin # g packet not supported
     def test_g_returns_correct_data_with_suffix(self):
         self.build()
         self.set_inferior_startup_launch()
@@ -137,6 +138,7 @@ class TestGdbRemoteGPacket(gdbremote_testcase.GdbRemoteTestCaseBase):
 
     @expectedFailureAll(oslist=["freebsd"], bugnumber="llvm.org/pr48420")
     @expectedFailureNetBSD
+    @skipIfDarwin # g packet not supported
     def test_g_returns_correct_data_no_suffix(self):
         self.build()
         self.set_inferior_startup_launch()