[all-commits] [llvm/llvm-project] 59656c: [lldb] Make CommunicationTest compatible with windows

Pavel Labath via All-commits all-commits at lists.llvm.org
Fri Aug 26 06:26:08 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 59656c0492224a2da590b913959630107e0a31f4
      https://github.com/llvm/llvm-project/commit/59656c0492224a2da590b913959630107e0a31f4
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2022-08-26 (Fri, 26 Aug 2022)

  Changed paths:
    M lldb/unittests/Core/CMakeLists.txt
    M lldb/unittests/Core/CommunicationTest.cpp
    M lldb/unittests/Core/FormatEntityTest.cpp
    M lldb/unittests/Host/CMakeLists.txt
    M lldb/unittests/Host/ConnectionFileDescriptorTest.cpp
    M lldb/unittests/Host/SocketTest.cpp
    R lldb/unittests/Host/SocketTestUtilities.cpp
    R lldb/unittests/Host/SocketTestUtilities.h
    M lldb/unittests/TestingSupport/CMakeLists.txt
    A lldb/unittests/TestingSupport/Host/CMakeLists.txt
    A lldb/unittests/TestingSupport/Host/SocketTestUtilities.cpp
    A lldb/unittests/TestingSupport/Host/SocketTestUtilities.h

  Log Message:
  -----------
  [lldb] Make CommunicationTest compatible with windows

Our (TCP) socket support is in a much better state than pipes. Use that
for testing the Communication class.

Move the CreateTCPConnectedSockets function
(SocketTestUtilities.{h,cpp}) to a place where it can be used from
Communication tests.




More information about the All-commits mailing list