[Lldb-commits] [lldb] 6c33211 - [lldb][test] Skip TestLldbGdbServer subtest on Darwin/NetBSD (#232249)

via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 16 04:04:31 PDT 2026


Author: Raphael Isemann
Date: 2026-10-16T12:04:24+01:00
New Revision: 6c33211c45a5b0ad0ae0a8bfa64df7514f8154e5

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

LOG: [lldb][test] Skip TestLldbGdbServer subtest on Darwin/NetBSD (#232249)

The test_Hc_then_Csignal_signals_correct_thread_launch is marked as
XFAIL on Darwin/NetBSD. This test however 'fails' by waiting on a 60s
timeout, which means the test spends most of its time just waiting for a
timeout.

This patch skips the test instead. This reduces the runtime on Darwin
from 77s to 15s.

Note that I don't know for sure why the test is failing, but the Darwin
annotation has been around since the introduction of the test.

Added: 
    

Modified: 
    lldb/test/API/tools/lldb-server/TestLldbGdbServer.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py b/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py
index d65febb01a13a..99aa1b9b85e9b 100644
--- a/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py
+++ b/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py
@@ -477,9 +477,9 @@ def Hc_then_Csignal_signals_correct_thread(self, segfault_signo):
             post_handle_thread_id = int(post_handle_thread_id, 16)
             self.assertEqual(post_handle_thread_id, print_thread_id)
 
-    @expectedFailureDarwin
+    @skipIfDarwin
     @requireSignals
-    @expectedFailureNetBSD
+    @skipIfNetBSD
     def test_Hc_then_Csignal_signals_correct_thread_launch(self):
         self.build()
         self.set_inferior_startup_launch()


        


More information about the lldb-commits mailing list