diff --git a/lldb/unittests/Core/CommunicationTest.cpp b/lldb/unittests/Core/CommunicationTest.cpp index 024684a486c2d..13ebfae772f47 100644 --- a/lldb/unittests/Core/CommunicationTest.cpp +++ b/lldb/unittests/Core/CommunicationTest.cpp @@ -21,6 +21,7 @@ using namespace lldb_private; +#ifndef _WIN32 static void CommunicationReadTest(bool use_read_thread) { Pipe pipe; ASSERT_THAT_ERROR(pipe.CreateNew(/*child_process_inherit=*/false).ToError(), @@ -87,7 +88,6 @@ TEST(CommunicationTest, ReadThread) { CommunicationReadTest(/*use_thread=*/true); } -#ifndef _WIN32 TEST(CommunicationTest, SynchronizeWhileClosing) { // Set up a communication object reading from a pipe. Pipe pipe;