summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite
diff options
context:
space:
mode:
authorKate Stone <katherine.stone@apple.com>2016-04-19 20:45:47 +0000
committerKate Stone <katherine.stone@apple.com>2016-04-19 20:45:47 +0000
commit317871d7934e8bc477270530eec062614032332a (patch)
tree263315fdb2235c69f574e87526c40acb1fe09b48 /lldb/packages/Python/lldbsuite
parentae39ccc49f8d5a9451353a89958183c4bfa6e6b8 (diff)
downloadbcm5719-llvm-317871d7934e8bc477270530eec062614032332a.tar.gz
bcm5719-llvm-317871d7934e8bc477270530eec062614032332a.zip
Eliminate circular dependency introduced between lldbtest.py and decorators.py
llvm-svn: 266815
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
-rw-r--r--lldb/packages/Python/lldbsuite/test/decorators.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/decorators.py b/lldb/packages/Python/lldbsuite/test/decorators.py
index a6143cd6ac3..e73bfe34173 100644
--- a/lldb/packages/Python/lldbsuite/test/decorators.py
+++ b/lldb/packages/Python/lldbsuite/test/decorators.py
@@ -15,7 +15,6 @@ import unittest2
# LLDB modules
import use_lldb_suite
-import lldbtest
import lldb
from . import configuration
@@ -512,8 +511,8 @@ def skipUnlessCompilerRt(func):
def skipUnlessClangModules():
"""Decorate the item to skip test unless Clang -gmodules flag is supported."""
def is_compiler_clang_with_gmodules(self):
- builder = lldbtest.builder_module()
- compiler_path = builder.getCompiler()
+ compiler_path = self.getCompiler()
+ print(compiler_path)
compiler = os.path.basename(compiler_path)
if compiler != "clang":
return "Test requires clang as compiler"
OpenPOWER on IntegriCloud