[Lldb-commits] [lldb] [lldb][test] Disable lldb-server tests on Linux (PR #161868)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 3 08:53:34 PDT 2025


https://github.com/DavidSpickett created https://github.com/llvm/llvm-project/pull/161868

While #161510 is dealt with.

>From 72b45f8f50d0c16cdb132db393e406fa1f76b2cb Mon Sep 17 00:00:00 2001
From: David Spickett <david.spickett at linaro.org>
Date: Fri, 3 Oct 2025 16:52:13 +0100
Subject: [PATCH] [lldb][test] Disable lldb-server tests on Linux

While #161510 is dealt with.
---
 lldb/test/API/tools/lldb-server/TestLldbGdbServer.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py b/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py
index c01f6d83fafe5..f1c0519ae56d8 100644
--- a/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py
+++ b/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py
@@ -22,7 +22,9 @@
 from lldbsuite.test.lldbdwarf import *
 from lldbsuite.test import lldbutil, lldbplatformutil
 
-
+# On Linux systems with Yama ptrace_scope = 1 there is a race condition when the
+# debugee enables tracing. See https://github.com/llvm/llvm-project/issues/161510.
+ at skipIfLinux
 class LldbGdbServerTestCase(
     gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcodeParser
 ):



More information about the lldb-commits mailing list