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 <[email protected]>
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.
+@skipIfLinux
 class LldbGdbServerTestCase(
     gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcodeParser
 ):

_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to