diff options
Diffstat (limited to 'lldb/test/lldbtest.py')
-rw-r--r-- | lldb/test/lldbtest.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/test/lldbtest.py b/lldb/test/lldbtest.py index dea1a235cc0..3932dad52e2 100644 --- a/lldb/test/lldbtest.py +++ b/lldb/test/lldbtest.py @@ -451,6 +451,9 @@ class Base(unittest2.TestCase): #import traceback #traceback.print_stack() + if "LLDB_EXEC" in os.environ: + self.lldbExec = os.environ["LLDB_EXEC"] + # Assign the test method name to self.testMethodName. # # For an example of the use of this attribute, look at test/types dir. @@ -837,9 +840,6 @@ class TestBase(Base): # Works with the test driver to conditionally skip tests via decorators. Base.setUp(self) - if "LLDB_EXEC" in os.environ: - self.lldbExec = os.environ["LLDB_EXEC"] - try: if lldb.blacklist: className = self.__class__.__name__ |