Skip to content

Commit 8deb61b

Browse files
committed
[lldb][test] Provide proper path to LLVM utils in API tests
In aea0668, API tests were supposed to be switched to LLVM tools usage. However, a path to an utility is made up incorrectly there: util name should be prefixed with `llvm-`. Hence it is fixed here.
1 parent 1bc9b67 commit 8deb61b

File tree

1 file changed

+3
-1
lines changed
  • lldb/packages/Python/lldbsuite/test/builders

1 file changed

+3
-1
lines changed

lldb/packages/Python/lldbsuite/test/builders/builder.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,9 @@ def getToolchainSpec(self, compiler):
153153
cc_dir = cc_path.parent
154154

155155
def getToolchainUtil(util_name):
156-
return os.path.join(configuration.llvm_tools_dir, util_name + exe_ext)
156+
return os.path.join(
157+
configuration.llvm_tools_dir, "llvm-" + util_name + exe_ext
158+
)
157159

158160
cxx = cc_dir / (cc_prefix + cxx_type + cc_ext)
159161

0 commit comments

Comments
 (0)