[Lldb-commits] [PATCH] D31357: Support Unit Testing debugserver

Chris Bieneman via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 6 08:22:43 PDT 2017


beanz updated this revision to Diff 94374.
beanz added a comment.

Some cleanup to the test case:

- Auto-select a port, which will make this more reliable
- Open listening sockets before the fork() so that the sockets are ready for connection (this avoids a race)
- Put test logic into reusable functions so that test logic can be reused for IPv6 tests when I add them


https://reviews.llvm.org/D31357

Files:
  tools/debugserver/source/CMakeLists.txt
  tools/debugserver/source/MacOSX/CMakeLists.txt
  unittests/CMakeLists.txt
  unittests/debugserver/CMakeLists.txt
  unittests/debugserver/RNBSocketTest.cpp
  unittests/debugserver/debugserver_LogCallback.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31357.94374.patch
Type: text/x-patch
Size: 13086 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20170406/ea01c1ed/attachment.bin>


More information about the lldb-commits mailing list