llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-lldb Author: John Harrison (ashgti) <details> <summary>Changes</summary> These tests are failing on win32 platforms, disabling while I investigate the root cause. --- Full diff: https://github.com/llvm/llvm-project/pull/161931.diff 2 Files Affected: - (modified) lldb/unittests/Protocol/ProtocolMCPServerTest.cpp (+5) - (modified) lldb/unittests/Protocol/ProtocolMCPTest.cpp (+5) ``````````diff 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 `````````` </details> https://github.com/llvm/llvm-project/pull/161931 _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
