https://github.com/ashgti created 
https://github.com/llvm/llvm-project/pull/161931

These tests are failing on win32 platforms, disabling while I investigate the 
root cause.

>From 9432dfe64848ca172f8b5a74006d0a297bae1b6c Mon Sep 17 00:00:00 2001
From: John Harrison <[email protected]>
Date: Fri, 3 Oct 2025 17:52:37 -0700
Subject: [PATCH] [lldb] Disabling tests in win32 to investigate the root
 cause.

These tests are failing on win32 platforms, disabling while I investigate the 
root cause.
---
 lldb/unittests/Protocol/ProtocolMCPServerTest.cpp | 5 +++++
 lldb/unittests/Protocol/ProtocolMCPTest.cpp       | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/lldb/unittests/Protocol/ProtocolMCPServerTest.cpp 
b/lldb/unittests/Protocol/ProtocolMCPServerTest.cpp
index 9628cbd91e9ce..45464db958e04 100644
--- a/lldb/unittests/Protocol/ProtocolMCPServerTest.cpp
+++ b/lldb/unittests/Protocol/ProtocolMCPServerTest.cpp
@@ -38,6 +38,9 @@ using namespace lldb_private;
 using namespace lldb_private::transport;
 using namespace lldb_protocol::mcp;
 
+// Flakey, see https://github.com/llvm/llvm-project/issues/152677.
+#ifndef _WIN32
+
 namespace {
 
 template <typename T> Response make_response(T &&result, Id id = 1) {
@@ -325,3 +328,5 @@ TEST_F(ProtocolServerMCPTest, NotificationInitialized) {
   EXPECT_THAT(logged_messages,
               testing::Contains("MCP initialization complete"));
 }
+
+#endif
diff --git a/lldb/unittests/Protocol/ProtocolMCPTest.cpp 
b/lldb/unittests/Protocol/ProtocolMCPTest.cpp
index 396e361e873fe..5f7391e43fe34 100644
--- a/lldb/unittests/Protocol/ProtocolMCPTest.cpp
+++ b/lldb/unittests/Protocol/ProtocolMCPTest.cpp
@@ -16,6 +16,9 @@ using namespace lldb;
 using namespace lldb_private;
 using namespace lldb_protocol::mcp;
 
+// Flakey, see https://github.com/llvm/llvm-project/issues/152677.
+#ifndef _WIN32
+
 TEST(ProtocolMCPTest, Request) {
   Request request;
   request.id = 1;
@@ -292,3 +295,5 @@ TEST(ProtocolMCPTest, ReadResourceResultEmpty) {
 
   EXPECT_TRUE(deserialized_result->contents.empty());
 }
+
+#endif

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

Reply via email to