summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite
diff options
context:
space:
mode:
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