[lld] r260207 - check-lld: Introduce %python.

NAKAMURA Takumi via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 8 23:30:18 PST 2016


Author: chapuni
Date: Tue Feb  9 01:30:18 2016
New Revision: 260207

URL: http://llvm.org/viewvc/llvm-project?rev=260207&view=rev
Log:
check-lld: Introduce %python.

Modified:
    lld/trunk/test/lit.cfg
    lld/trunk/test/mach-o/dependency_info.yaml

Modified: lld/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/lit.cfg?rev=260207&r1=260206&r2=260207&view=diff
==============================================================================
--- lld/trunk/test/lit.cfg (original)
+++ lld/trunk/test/lit.cfg Tue Feb  9 01:30:18 2016
@@ -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

Modified: lld/trunk/test/mach-o/dependency_info.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/dependency_info.yaml?rev=260207&r1=260206&r2=260207&view=diff
==============================================================================
--- lld/trunk/test/mach-o/dependency_info.yaml (original)
+++ lld/trunk/test/mach-o/dependency_info.yaml Tue Feb  9 01:30:18 2016
@@ -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




More information about the llvm-commits mailing list