diff options
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/plugins/builder_base.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/plugins/builder_base.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/plugins/builder_base.py b/lldb/packages/Python/lldbsuite/test/plugins/builder_base.py index f4c80569208..0cff14c2269 100644 --- a/lldb/packages/Python/lldbsuite/test/plugins/builder_base.py +++ b/lldb/packages/Python/lldbsuite/test/plugins/builder_base.py @@ -15,6 +15,7 @@ variable. import os, sys import platform import lldbsuite.test.lldbtest as lldbtest +import lldbsuite.test.lldbutil as lldbutil def getArchitecture(): """Returns the architecture in effect the test suite is running with.""" @@ -23,6 +24,7 @@ def getArchitecture(): def getCompiler(): """Returns the compiler in effect the test suite is running with.""" compiler = os.environ.get("CC", "clang") + compiler = lldbutil.which(compiler) return os.path.realpath(compiler) def getArchFlag(): |