[Lldb-commits] [lldb] d38985a - [lldb] [test] Disable new CommunicationTests on Windows

Michał Górny via lldb-commits lldb-commits at lists.llvm.org
Fri Aug 19 07:27:26 PDT 2022


Author: Michał Górny
Date: 2022-08-19T16:23:39+02:00
New Revision: d38985a36be8b0165787f8893b3d2b0f831d1e83

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

LOG: [lldb] [test] Disable new CommunicationTests on Windows

Sponsored by: The FreeBSD Foundation

Added: 
    

Modified: 
    lldb/unittests/Core/CommunicationTest.cpp

Removed: 
    


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


        


More information about the lldb-commits mailing list