diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2018-01-24 20:26:12 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2018-01-24 20:26:12 +0000 |
commit | a2cf70158c66891c9c041270b450e9699b0439fb (patch) | |
tree | 03cb951b1ed6d1c0eaea0b9ba0c298c18f2aecbc /lit/lit.cfg | |
parent | 4298ea0c0f4c4afb87fb28f496b3df781088b73c (diff) | |
download | src-f47089b903619754e7ec37c35e7c763766c133bc.tar.gz src-f47089b903619754e7ec37c35e7c763766c133bc.zip |
Vendor import of lldb release_60 branch r323338:vendor/lldb/lldb-release_60-r324090vendor/lldb/lldb-release_60-r323948vendor/lldb/lldb-release_60-r323338
Diffstat (limited to 'lit/lit.cfg')
-rw-r--r-- | lit/lit.cfg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lit/lit.cfg b/lit/lit.cfg index 402d03947ca8..4a190a7328ba 100644 --- a/lit/lit.cfg +++ b/lit/lit.cfg @@ -91,11 +91,11 @@ for pattern in [r"\bFileCheck\b", pattern) tool_pipe = tool_match.group(2) tool_name = tool_match.group(4) - tool_path = lit.util.which(tool_name, config.llvm_tools_dir) + tool_path = lit.util.which(tool_name, config.environment['PATH']) if not tool_path: # Warn, but still provide a substitution. lit_config.note( - 'Did not find ' + tool_name + ' in ' + config.llvm_tools_dir) + 'Did not find ' + tool_name + ' in ' + config.environment['PATH']) config.substitutions.append((pattern, tool_pipe + tool_path)) # Shell execution |