Skip to content

Commit

Permalink
Revert "Remove the __import__ hack of lldbtest_config."
Browse files Browse the repository at this point in the history
The hack still seems to be necessary. Putting it back in until we figure out why.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@251862 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
labath committed Nov 2, 2015
1 parent e2f35ed commit 88c4d70
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/Python/lldbsuite/test/dotest.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,14 @@
"""

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
import lldbsuite

import lldbtest_config
import lldbsuite

import atexit
import commands
Expand Down

0 comments on commit 88c4d70

Please sign in to comment.