Skip to content

Commit 8b65411

Browse files
authored
[lldb][NFC] Remove old skipIfOutOfTreeDebugserver's (#126144)
When a test depends on a new debugserver feature/fix, the API test must be marked @skipIfOutOfTreeDebugserver because the macOS CI bots test using the latest Xcode release debugserver. But over time all of these fixes & new features are picked up in the Xcode debugserver and these skips can be removed. We may see unexpected test failures from removing all of these 1+ year old skips, but that's likely a separate reason the test is failing that is being papered over by this skip.
1 parent 97b08b8 commit 8b65411

File tree

20 files changed

+0
-32
lines changed

20 files changed

+0
-32
lines changed

lldb/test/API/commands/register/register/register_command/TestRegisters.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ def test_fp_register_write(self):
111111
# "register read fstat" always return 0xffff
112112
@expectedFailureAndroid(archs=["i386"])
113113
@skipIf(archs=no_match(["amd64", "i386", "x86_64"]))
114-
@skipIfOutOfTreeDebugserver
115114
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr37995")
116115
def test_fp_special_purpose_register_read(self):
117116
"""Test commands that read fpu special purpose registers."""

lldb/test/API/commands/watchpoints/unaligned-watchpoint/TestUnalignedWatchpoint.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
class UnalignedWatchpointTestCase(TestBase):
1717
NO_DEBUG_INFO_TESTCASE = True
1818

19-
@skipIfOutOfTreeDebugserver
2019
def test_unaligned_watchpoint(self):
2120
"""Test an unaligned watchpoint triggered by a larger aligned write."""
2221
self.build()

lldb/test/API/functionalities/breakpoint/hardware_breakpoints/hardware_breakpoint_on_multiple_threads/TestHWBreakMultiThread.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,12 @@ class HardwareBreakpointMultiThreadTestCase(HardwareBreakpointTestBase):
1515
def does_not_support_hw_breakpoints(self):
1616
return not super().supports_hw_breakpoints()
1717

18-
@skipIfOutOfTreeDebugserver
1918
@skipTestIfFn(does_not_support_hw_breakpoints)
2019
def test_hw_break_set_delete_multi_thread_macos(self):
2120
self.build()
2221
self.setTearDownCleanup()
2322
self.break_multi_thread("delete")
2423

25-
@skipIfOutOfTreeDebugserver
2624
@skipTestIfFn(does_not_support_hw_breakpoints)
2725
def test_hw_break_set_disable_multi_thread_macos(self):
2826
self.build()

lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ def get_module_with_name(self, target, name):
3232
return None
3333

3434
@skipUnlessDarwin
35-
@skipIfOutOfTreeDebugserver
3635
@skipIfRemote
3736
@skipIfAsan # On ASAN builds, this test times-out (rdar://98678134)
3837
@skipIfDarwin

lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentManyBreakpoints.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
class ConcurrentManyBreakpoints(ConcurrentEventsBase):
88
# Atomic sequences are not supported yet for MIPS in LLDB.
99
@skipIf(triple="^mips")
10-
@skipIfOutOfTreeDebugserver
1110
@expectedFailureAll(
1211
archs=["aarch64"], oslist=["freebsd"], bugnumber="llvm.org/pr49433"
1312
)

lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentManyCrash.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
class ConcurrentManyCrash(ConcurrentEventsBase):
88
# Atomic sequences are not supported yet for MIPS in LLDB.
99
@skipIf(triple="^mips")
10-
@skipIfOutOfTreeDebugserver
1110
def test(self):
1211
"""Test 100 threads that cause a segfault."""
1312
self.build()

lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentManySignals.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ class ConcurrentManySignals(ConcurrentEventsBase):
1010
# This test is flaky on Darwin.
1111
@skipIfDarwin
1212
@expectedFailureNetBSD
13-
@skipIfOutOfTreeDebugserver
1413
def test(self):
1514
"""Test 100 signals from 100 threads."""
1615
self.build()

lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentManyWatchpoints.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ class ConcurrentManyWatchpoints(ConcurrentEventsBase):
88
# Atomic sequences are not supported yet for MIPS in LLDB.
99
@skipIf(triple="^mips")
1010
@add_test_categories(["watchpoint"])
11-
@skipIfOutOfTreeDebugserver
1211
def test(self):
1312
"""Test 100 watchpoints from 100 threads."""
1413
self.build()

lldb/test/API/functionalities/watchpoint/large-watchpoint/TestLargeWatchpoint.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ def continue_and_report_stop_reason(self, process, iter_str):
2727

2828
# debugserver only gained the ability to watch larger regions
2929
# with this patch.
30-
@skipIfOutOfTreeDebugserver
3130
def test_large_watchpoint(self):
3231
"""Test watchpoint that covers a large region of memory."""
3332
self.build()

lldb/test/API/functionalities/watchpoint/unaligned-spanning-two-dwords/TestUnalignedSpanningDwords.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ def hit_watchpoint_and_continue(self, process, iter_str):
3232
# older debugservers will return the base address of the doubleword
3333
# which lldb doesn't understand, and will stop executing without a
3434
# proper stop reason.
35-
@skipIfOutOfTreeDebugserver
3635
def test_unaligned_watchpoint(self):
3736
"""Test a watchpoint that is handled by two hardware watchpoint registers."""
3837
self.build()

lldb/test/API/macosx/corefile-exception-reason/TestCorefileExceptionReason.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212

1313
class TestCorefileExceptionReason(TestBase):
14-
@skipIfOutOfTreeDebugserver # newer debugserver required for these qMemoryRegionInfo types
1514
@no_debug_info_test
1615
@skipUnlessDarwin
1716
@skipIf(archs=no_match(["arm64", "arm64e"]))

lldb/test/API/macosx/debugserver-exit-code/TestDebugServerExitCode.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
class TestCase(TestBase):
1212
@no_debug_info_test
1313
@skipUnlessDarwin
14-
@skipIfOutOfTreeDebugserver
1514
def test_abort(self):
1615
self.build()
1716
target = self.dbg.CreateTarget(self.getBuildArtifact("a.out"))

lldb/test/API/macosx/early-process-launch/TestEarlyProcessLaunch.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ class TestEarlyProcessLaunch(TestBase):
1212

1313
@skipUnlessDarwin
1414
@skipIfAsan # rdar://103359354
15-
@skipIfOutOfTreeDebugserver # 2022-12-13 FIXME: skipping system debugserver
1615
# until this feature is included in the system
1716
# debugserver.
1817
@add_test_categories(["pyapi"])

lldb/test/API/macosx/ignore_exceptions/TestIgnoredExceptions.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
class TestDarwinSignalHandlers(TestBase):
1313
NO_DEBUG_INFO_TESTCASE = True
1414

15-
@skipIfOutOfTreeDebugserver
1615
@skipUnlessDarwin
1716
def test_ignored_thread(self):
1817
"""It isn't possible to convert an EXC_BAD_ACCESS to a signal when

lldb/test/API/macosx/profile_vrs_detach/TestDetachVrsProfile.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ class TestDetachVrsProfile(TestBase):
1919
NO_DEBUG_INFO_TESTCASE = True
2020

2121
@skipUnlessDarwin
22-
@skipIfOutOfTreeDebugserver
2322
@skipIfRemote
2423
def test_profile_and_detach(self):
2524
"""There can be many tests in a test case - describe this test here."""

lldb/test/API/macosx/simulator/TestSimulatorPlatform.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ def run_with(self, arch, os, vers, env, expected_load_command):
7979
@skipUnlessDarwin
8080
@skipIfDarwinEmbedded
8181
@apple_simulator_test("iphone")
82-
@skipIfOutOfTreeDebugserver
8382
def test_ios(self):
8483
"""Test running an iOS simulator binary"""
8584
self.run_with(
@@ -94,7 +93,6 @@ def test_ios(self):
9493
@skipUnlessDarwin
9594
@skipIfDarwinEmbedded
9695
@apple_simulator_test("appletv")
97-
@skipIfOutOfTreeDebugserver
9896
def test_tvos(self):
9997
"""Test running an tvOS simulator binary"""
10098
self.run_with(
@@ -111,7 +109,6 @@ def test_tvos(self):
111109
@apple_simulator_test("watch")
112110
@skipIfDarwin # rdar://problem/64552748
113111
@skipIf(archs=["arm64", "arm64e"])
114-
@skipIfOutOfTreeDebugserver
115112
def test_watchos_i386(self):
116113
"""Test running a 32-bit watchOS simulator binary"""
117114
self.run_with(
@@ -128,7 +125,6 @@ def test_watchos_i386(self):
128125
@apple_simulator_test("watch")
129126
@skipIfDarwin # rdar://problem/64552748
130127
@skipIf(archs=["i386", "x86_64"])
131-
@skipIfOutOfTreeDebugserver
132128
def test_watchos_armv7k(self):
133129
"""Test running a 32-bit watchOS simulator binary"""
134130
self.run_with(
@@ -150,7 +146,6 @@ def test_watchos_armv7k(self):
150146

151147
@skipUnlessDarwin
152148
@skipIfDarwinEmbedded
153-
@skipIfOutOfTreeDebugserver
154149
def test_lc_version_min_macosx(self):
155150
"""Test running a back-deploying non-simulator MacOS X binary"""
156151
self.run_with(
@@ -166,7 +161,6 @@ def test_lc_version_min_macosx(self):
166161
@skipIfDarwinEmbedded
167162
@apple_simulator_test("iphone")
168163
@skipIf(archs=["arm64", "arm64e"])
169-
@skipIfOutOfTreeDebugserver
170164
def test_lc_version_min_iphoneos(self):
171165
"""Test running a back-deploying iOS simulator binary
172166
with a legacy iOS load command"""
@@ -183,7 +177,6 @@ def test_lc_version_min_iphoneos(self):
183177
@skipIfDarwinEmbedded
184178
@apple_simulator_test("iphone")
185179
@skipIf(archs=["arm64", "arm64e"])
186-
@skipIfOutOfTreeDebugserver
187180
def test_ios_backdeploy_x86(self):
188181
"""Test running a back-deploying iOS simulator binary
189182
with a legacy iOS load command"""
@@ -200,7 +193,6 @@ def test_ios_backdeploy_x86(self):
200193
@skipIfDarwinEmbedded
201194
@apple_simulator_test("iphone")
202195
@skipIf(archs=["i386", "x86_64"])
203-
@skipIfOutOfTreeDebugserver
204196
def test_ios_backdeploy_apple_silicon(self):
205197
"""Test running a back-deploying iOS simulator binary"""
206198
self.run_with(
@@ -216,7 +208,6 @@ def test_ios_backdeploy_apple_silicon(self):
216208
@skipIfDarwinEmbedded
217209
@apple_simulator_test("appletv")
218210
@skipIf(archs=["arm64", "arm64e"])
219-
@skipIfOutOfTreeDebugserver
220211
def test_lc_version_min_tvos(self):
221212
"""Test running a back-deploying tvOS simulator binary
222213
with a legacy tvOS load command"""
@@ -233,7 +224,6 @@ def test_lc_version_min_tvos(self):
233224
@skipIfDarwinEmbedded
234225
@apple_simulator_test("appletv")
235226
@skipIf(archs=["i386", "x86_64"])
236-
@skipIfOutOfTreeDebugserver
237227
def test_tvos_backdeploy_apple_silicon(self):
238228
"""Test running a back-deploying tvOS simulator binary"""
239229
self.run_with(
@@ -250,7 +240,6 @@ def test_tvos_backdeploy_apple_silicon(self):
250240
@apple_simulator_test("watch")
251241
@skipIf(archs=["arm64", "arm64e"])
252242
@skipIfDarwin # rdar://problem/64552748
253-
@skipIfOutOfTreeDebugserver
254243
def test_lc_version_min_watchos(self):
255244
"""Test running a back-deploying watchOS simulator binary
256245
with a legacy watchOS load command"""
@@ -268,7 +257,6 @@ def test_lc_version_min_watchos(self):
268257
@apple_simulator_test("watch")
269258
@skipIf(archs=["arm64", "arm64e"])
270259
@skipIfDarwin # rdar://problem/64552748
271-
@skipIfOutOfTreeDebugserver
272260
def test_watchos_backdeploy_apple_silicon(self):
273261
"""Test running a back-deploying watchOS simulator binary"""
274262
self.run_with(

lldb/test/API/macosx/skinny-corefile/TestSkinnyCorefile.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313

1414
class TestSkinnyCorefile(TestBase):
15-
@skipIfOutOfTreeDebugserver # newer debugserver required for these qMemoryRegionInfo types
1615
@skipIf(
1716
debug_info=no_match(["dsym"]),
1817
bugnumber="This test is looking explicitly for a dSYM",

lldb/test/API/macosx/stack-corefile/TestStackCorefile.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212

1313
class TestStackCorefile(TestBase):
14-
@skipIfOutOfTreeDebugserver # newer debugserver required for these qMemoryRegionInfo types
1514
@no_debug_info_test
1615
@skipUnlessDarwin
1716
@skipIfRemote

lldb/test/API/macosx/unregistered-macho/TestUnregisteredMacho.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
class TestUnregisteredMacho(TestBase):
1414
# newer debugserver required for jGetLoadedDynamicLibrariesInfos
1515
# to support this
16-
@skipIfOutOfTreeDebugserver
1716
@no_debug_info_test
1817
@skipUnlessDarwin
1918
def test(self):

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ def _extract_register_value(reg_info, reg_bank, byte_order, bytes_per_entry=8):
2525

2626

2727
class TestGdbRemoteGPacket(gdbremote_testcase.GdbRemoteTestCaseBase):
28-
@skipIfOutOfTreeDebugserver
2928
@skipUnlessDarwin # G packet not supported
3029
def test_g_packet(self):
3130
self.build()

0 commit comments

Comments
 (0)