test infra: move test event-related handling into its own package
authorTodd Fiala <todd.fiala@gmail.com>
Wed, 20 Apr 2016 16:27:27 +0000 (16:27 +0000)
committerTodd Fiala <todd.fiala@gmail.com>
Wed, 20 Apr 2016 16:27:27 +0000 (16:27 +0000)
commit49d3c15c3e8cc01e2a8af096eeacff746d92c644
tree1ace8d217bb1546aa11eccfd5062a738228628e0
parente8fc69d1366f2c2fff66735c1af8e1f5b0feaa3f
test infra: move test event-related handling into its own package

This change moves all the test event handling and its related
ResultsFormatter classes out of the packages/Python/lldbsuite/test dir
into a packages/Python/lldbsuite/test_event package. Formatters are
moved into a sub-package under that.

I am limiting the scope of this change to just the motion and a few
minor issues caught by a static Python checker (e.g. removing unused
import statements).

This is a pre-step for adding package-level tests to the test event
system. I also intend to simplify test event results formatter selection
after I make sure this doesn't break anybody.

See:
http://reviews.llvm.org/D19288

Reviewed by:
Pavel Labath

llvm-svn: 266885
14 files changed:
lldb/packages/Python/lldbsuite/test/decorators.py
lldb/packages/Python/lldbsuite/test/dosep.py
lldb/packages/Python/lldbsuite/test/dotest.py
lldb/packages/Python/lldbsuite/test/lldbtest.py
lldb/packages/Python/lldbsuite/test/test_result.py
lldb/packages/Python/lldbsuite/test_event/__init__.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test_event/dotest_channels.py [moved from lldb/packages/Python/lldbsuite/test/dotest_channels.py with 100% similarity]
lldb/packages/Python/lldbsuite/test_event/event_builder.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test_event/formatter/__init__.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test_event/formatter/curses.py [moved from lldb/packages/Python/lldbsuite/test/curses_results.py with 97% similarity]
lldb/packages/Python/lldbsuite/test_event/formatter/dump_formatter.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test_event/formatter/pickled.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test_event/formatter/results_formatter.py [moved from lldb/packages/Python/lldbsuite/test/result_formatter.py with 57% similarity]
lldb/packages/Python/lldbsuite/test_event/formatter/xunit.py [moved from lldb/packages/Python/lldbsuite/test/xunit_formatter.py with 96% similarity]