This is an archive of the discontinued LLVM Phabricator instance.

llgs-tests: Make addition of new tests easier
ClosedPublic

Authored by labath on Dec 11 2017, 5:54 AM.

Details

Summary

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).

Diff Detail

Repository
rL LLVM

Event Timeline

labath created this revision.Dec 11 2017, 5:54 AM
eugene accepted this revision.Dec 14 2017, 10:19 AM
This revision is now accepted and ready to land.Dec 14 2017, 10:19 AM
This revision was automatically updated to reflect the committed changes.