[Lldb-commits] [lldb] f3673c5 - [lldb] Disabling tests in win32 to investigate the root cause. (#161931)

via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 3 18:16:25 PDT 2025


Author: John Harrison
Date: 2025-10-03T18:16:22-07:00
New Revision: f3673c5e5bfef176b3f630d82ec2299390b8a69a

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

LOG: [lldb] Disabling tests in win32 to investigate the root cause. (#161931)

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

Added: 
    

Modified: 
    lldb/unittests/Protocol/ProtocolMCPServerTest.cpp
    lldb/unittests/Protocol/ProtocolMCPTest.cpp

Removed: 
    


################################################################################
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


        


More information about the lldb-commits mailing list