Skip to content

Commit a2c8b8b

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 a2c8b8b

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def getToolchainUtil(util_name):
176176
for var, name in util_names.items():
177177
# Do not override explicity specified tool from the cmd line.
178178
if not os.getenv(var):
179-
util_paths[var] = getToolchainUtil(name)
179+
util_paths[var] = getToolchainUtil("llvm-" + name)
180180
else:
181181
util_paths[var] = os.getenv(var)
182182
utils.extend(["AR=%s" % util_paths["ARCHIVER"]])

0 commit comments

Comments
 (0)