summaryrefslogtreecommitdiffstats
path: root/lld/test/lit.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'lld/test/lit.cfg')
-rw-r--r--lld/test/lit.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/lld/test/lit.cfg b/lld/test/lit.cfg
index e518dc7162d..54f08f4da2e 100644
--- a/lld/test/lit.cfg
+++ b/lld/test/lit.cfg
@@ -177,6 +177,9 @@ for pattern in tool_patterns:
tool_path = llvm_tools_dir + '/' + tool_name
config.substitutions.append((pattern, tool_pipe + tool_path))
+# Add site-specific substitutions.
+config.substitutions.append( ('%python', config.python_executable) )
+
###
# When running under valgrind, we mangle '-vg' onto the end of the triple so we
OpenPOWER on IntegriCloud