diff options
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dotest.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/dotest.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py index 7c08bac48db..0c569bc81e8 100644 --- a/lldb/packages/Python/lldbsuite/test/dotest.py +++ b/lldb/packages/Python/lldbsuite/test/dotest.py @@ -21,6 +21,10 @@ for available options. """ from __future__ import print_function +# this module needs to have global visibility, otherwise test cases +# will import it anew in their local namespace, essentially losing access +# to all the configuration data +globals()['lldbtest_config'] = __import__('lldbtest_config') import use_lldb_suite @@ -42,7 +46,6 @@ import test_results from test_results import EventBuilder import inspect import unittest2 -import lldbtest_config import test_categories import six |