[Lldb-commits] [PATCH] D41066: llgs-tests: Make addition of new tests easier

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Dec 11 05:54:28 PST 2017


labath created this revision.
Herald added a subscriber: mgorny.

Adding a new test would require one to duplicate a significant part of
the existing test that we have. This attempts to reduce that by moving
some part of that code to the test fixture. The StandardStartupTest
fixture automatically starts up the server and connects it to the
client. I also add a more low-level TestBase fixture, which allows one
to start up the client and server in a custom way (I am going to need
this for the test I am writing).


https://reviews.llvm.org/D41066

Files:
  unittests/tools/lldb-server/CMakeLists.txt
  unittests/tools/lldb-server/tests/CMakeLists.txt
  unittests/tools/lldb-server/tests/MessageObjects.h
  unittests/tools/lldb-server/tests/TestBase.cpp
  unittests/tools/lldb-server/tests/TestBase.h
  unittests/tools/lldb-server/tests/TestClient.cpp
  unittests/tools/lldb-server/tests/TestClient.h
  unittests/tools/lldb-server/tests/ThreadIdsInJstopinfoTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41066.126348.patch
Type: text/x-patch
Size: 16846 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20171211/f0a79bc8/attachment.bin>


More information about the lldb-commits mailing list