Skip to content

Commit e7174a8

Browse files
authored
[lldb][test] Provide proper path to LLVM utils in API tests (#110837)
In aea0668, API tests were supposed to use LLVM tools. However, a path to a utility is made up incorrectly there: util name should be prefixed with `llvm-`. Hence, it's fixed here.
1 parent a018353 commit e7174a8

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)