summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2016-02-09 07:30:18 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2016-02-09 07:30:18 +0000
commit127295492d323b329b2925dc236af8735edf4baf (patch)
tree256f185a3dfe73f6cfb2a5d7a447319e09bce80e
parentc96ae0c8a81e90efc946578b30c3984f88cd3ece (diff)
downloadbcm5719-llvm-127295492d323b329b2925dc236af8735edf4baf.tar.gz
bcm5719-llvm-127295492d323b329b2925dc236af8735edf4baf.zip
check-lld: Introduce %python.
llvm-svn: 260207
-rw-r--r--lld/test/lit.cfg3
-rw-r--r--lld/test/mach-o/dependency_info.yaml2
2 files changed, 4 insertions, 1 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
diff --git a/lld/test/mach-o/dependency_info.yaml b/lld/test/mach-o/dependency_info.yaml
index dcce4381dfd..4ddb1811fcf 100644
--- a/lld/test/mach-o/dependency_info.yaml
+++ b/lld/test/mach-o/dependency_info.yaml
@@ -14,7 +14,7 @@
# RUN: -F/Custom/Frameworks \
# RUN: -framework Bar \
# RUN: -framework Foo
-# RUN: python %p/Inputs/DependencyDump.py %t.info | FileCheck %s
+# RUN: %python %p/Inputs/DependencyDump.py %t.info | FileCheck %s
# CHECK: linker-vers: lld
OpenPOWER on IntegriCloud