summaryrefslogtreecommitdiffstats
path: root/test/lit.cfg.py
diff options
context:
space:
mode:
authorMichal Gorny <mgorny@gentoo.org>2018-08-01 20:38:22 +0000
committerMichal Gorny <mgorny@gentoo.org>2018-08-01 20:38:22 +0000
commite3ad384baa5c07d555b5740aade030e1af758675 (patch)
treedb763553b1699793b3726d0bfecda9ce26cd2480 /test/lit.cfg.py
parent651282142f9f33ecb045d3f9784d3c2cd5558d37 (diff)
[test] Fix %hmaptool path for standalone builds
Fix %hmaptool path to refer to clang_tools_dir instead of llvm_tools_dir, in order to fix standalone builds. The tool is built as part of clang, so it won't be found in installed LLVM tools. Differential Revision: https://reviews.llvm.org/D50156 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@338627 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lit.cfg.py')
-rw-r--r--test/lit.cfg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lit.cfg.py b/test/lit.cfg.py
index ad30988c17..c962b41723 100644
--- a/test/lit.cfg.py
+++ b/test/lit.cfg.py
@@ -71,7 +71,7 @@ llvm_config.add_tool_substitutions(tools, tool_dirs)
config.substitutions.append(
('%hmaptool', "'%s' %s" % (config.python_executable,
- os.path.join(config.llvm_tools_dir, 'hmaptool'))))
+ os.path.join(config.clang_tools_dir, 'hmaptool'))))
# Plugins (loadable modules)
# TODO: This should be supplied by Makefile or autoconf.