From 9aa5fbb3afed00deb2faad4ac7963c5d3247815d Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Thu, 9 Apr 2020 15:19:24 +0200 Subject: [PATCH] [lldb] Disable the new Communication test on windows The ConnectionFileDescriptor class on windows does not support interruption (see the BytesAvailable method). Therefore this test makes no sense there. --- lldb/unittests/Core/CommunicationTest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lldb/unittests/Core/CommunicationTest.cpp b/lldb/unittests/Core/CommunicationTest.cpp index 6ad0bc720d93..3ddc78d4a5af 100644 --- a/lldb/unittests/Core/CommunicationTest.cpp +++ b/lldb/unittests/Core/CommunicationTest.cpp @@ -14,6 +14,7 @@ using namespace lldb_private; +#ifndef _WIN32 TEST(CommunicationTest, SynchronizeWhileClosing) { // Set up a communication object reading from a pipe. Pipe pipe; @@ -33,3 +34,4 @@ TEST(CommunicationTest, SynchronizeWhileClosing) { ASSERT_TRUE(comm.StopReadThread()); } +#endif -- 2.34.1