diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2016-02-09 07:30:18 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2016-02-09 07:30:18 +0000 |
commit | 127295492d323b329b2925dc236af8735edf4baf (patch) | |
tree | 256f185a3dfe73f6cfb2a5d7a447319e09bce80e | |
parent | c96ae0c8a81e90efc946578b30c3984f88cd3ece (diff) | |
download | bcm5719-llvm-127295492d323b329b2925dc236af8735edf4baf.tar.gz bcm5719-llvm-127295492d323b329b2925dc236af8735edf4baf.zip |
check-lld: Introduce %python.
llvm-svn: 260207
-rw-r--r-- | lld/test/lit.cfg | 3 | ||||
-rw-r--r-- | lld/test/mach-o/dependency_info.yaml | 2 |
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 |