[Lldb-commits] [lldb] [lldb][mcp] Skip MCPUnixSocketCommandTestCase if remote (PR #146807)

Alexandre Perez via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 2 18:00:59 PDT 2025


https://github.com/aperez created https://github.com/llvm/llvm-project/pull/146807

It looks like #146603 broke the [lldb-remote-linux-win](https://lab.llvm.org/buildbot/#/builders/197) build bot because `MCPUnixSocketCommandTestCase` is trying to start a protocol-server via unix domain sockets on windows. 
This change makes it so the test is skipped if it is remote.

>From 895fa917592e2b512f7852f6bc04266159b16bdb Mon Sep 17 00:00:00 2001
From: Alexandre Perez <alexandreperez at meta.com>
Date: Wed, 2 Jul 2025 17:53:16 -0700
Subject: [PATCH] [lldb][mcp] Skip MCPUnixSocketCommandTestCase if remote

---
 lldb/test/API/commands/protocol/TestMCPUnixSocket.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lldb/test/API/commands/protocol/TestMCPUnixSocket.py b/lldb/test/API/commands/protocol/TestMCPUnixSocket.py
index de0aec040695f..ea9255cc60ef5 100644
--- a/lldb/test/API/commands/protocol/TestMCPUnixSocket.py
+++ b/lldb/test/API/commands/protocol/TestMCPUnixSocket.py
@@ -12,6 +12,7 @@
 
 class MCPUnixSocketCommandTestCase(TestBase):
     @skipIfWindows
+    @skipIfRemote
     @no_debug_info_test
     def test_unix_socket(self):
         """



More information about the lldb-commits mailing list