[lldb] Disable the new Communication test on windows
authorPavel Labath <pavel@labath.sk>
Thu, 9 Apr 2020 13:19:24 +0000 (15:19 +0200)
committerPavel Labath <pavel@labath.sk>
Thu, 9 Apr 2020 13:19:24 +0000 (15:19 +0200)
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

index 6ad0bc720d93ecedf8258b0c11c387e0ef85ef72..3ddc78d4a5af6e818c5258a22e661f49a2a6f13c 100644 (file)
@@ -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