This is an archive of the discontinued LLVM Phabricator instance.

[lldb] [test] Move "platform connect" logic into a common class
ClosedPublic

Authored by mgorny on Sep 10 2021, 2:22 AM.

Details

Summary

Create a common GDBPlatformClientTestBase class and move the platform
select/connect logic there to reduce duplication.

Diff Detail

Event Timeline

mgorny requested review of this revision.Sep 10 2021, 2:22 AM
mgorny created this revision.

looks better. Can we also move the DisconnectRemote() thingy into the tearDown method ?

mgorny updated this revision to Diff 371844.Sep 10 2021, 2:37 AM

Sorry about missing that. Done now.

labath accepted this revision.Sep 10 2021, 2:55 AM

cool

This revision is now accepted and ready to land.Sep 10 2021, 2:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 10 2021, 5:08 AM