This is an archive of the discontinued LLVM Phabricator instance.

Preparation for making a Python package out of lldb's Python code
ClosedPublic

Authored by zturner on Oct 27 2015, 2:07 PM.

Details

Summary

See the thread in lldb-dev for context.

After this patch, the remaining piece of work is to literally move lldb/test to lldb/packages/Python/lldbsuite/test and apply 1 or 2 fixups at places marked in this patch.

Diff Detail

Repository
rL LLVM

Event Timeline

zturner updated this revision to Diff 38590.Oct 27 2015, 2:07 PM
zturner retitled this revision from to Preparation for making a Python package out of lldb's Python code.
zturner updated this object.
zturner added reviewers: clayborg, tfiala.
zturner added a subscriber: lldb-commits.
zturner updated this revision to Diff 38595.Oct 27 2015, 2:27 PM

Moved progress.py from lldb/test to lldb/third_party. This seems to be a third party module that had also snuck into the test folder. It's used by both unittest2 and dosep.py so it has to be in third_party to be usable from both.

zturner updated this revision to Diff 38600.Oct 27 2015, 2:59 PM

Fixed lldbsuite module initialization. I'm having to do this all by eye / memory since this code isn't actually exercised yet until the move actually happens.

tfiala accepted this revision.Oct 27 2015, 3:06 PM
tfiala edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Oct 27 2015, 3:06 PM
This revision was automatically updated to reflect the committed changes.
lldb/trunk/test/dotest.py