diff options
author | Todd Fiala <todd.fiala@gmail.com> | 2016-04-20 16:27:27 +0000 |
---|---|---|
committer | Todd Fiala <todd.fiala@gmail.com> | 2016-04-20 16:27:27 +0000 |
commit | 49d3c15c3e8cc01e2a8af096eeacff746d92c644 (patch) | |
tree | 1ace8d217bb1546aa11eccfd5062a738228628e0 /lldb/packages/Python/lldbsuite/test/lldbtest.py | |
parent | e8fc69d1366f2c2fff66735c1af8e1f5b0feaa3f (diff) | |
download | bcm5719-llvm-49d3c15c3e8cc01e2a8af096eeacff746d92c644.tar.gz bcm5719-llvm-49d3c15c3e8cc01e2a8af096eeacff746d92c644.zip |
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
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbtest.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/lldbtest.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lldbtest.py b/lldb/packages/Python/lldbsuite/test/lldbtest.py index 196ee8fac80..492e136fe39 100644 --- a/lldb/packages/Python/lldbsuite/test/lldbtest.py +++ b/lldb/packages/Python/lldbsuite/test/lldbtest.py @@ -31,8 +31,8 @@ OK $ """ -from __future__ import print_function from __future__ import absolute_import +from __future__ import print_function # System modules import abc @@ -42,12 +42,13 @@ import gc import glob import inspect import io -import os, sys, traceback import os.path import re import signal from subprocess import * +import sys import time +import traceback import types # Third-party modules @@ -68,8 +69,6 @@ from . import test_categories from lldbsuite.support import encoded_file from lldbsuite.support import funcutils -from .result_formatter import EventBuilder - # dosep.py starts lots and lots of dotest instances # This option helps you find if two (or more) dotest instances are using the same # directory at the same time |