llvm/test/lit.cfg: Let %python available.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 11 Jul 2014 14:36:39 +0000 (14:36 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 11 Jul 2014 14:36:39 +0000 (14:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212819 91177308-0d34-0410-b5e6-96231b3b80d8

test/lit.cfg

index 664d55fa1ad7aca8973013c2f8aaf188bc4e8961..4f015267c6196643591cd95c07447450e55ee56b 100644 (file)
@@ -200,6 +200,7 @@ config.substitutions.append( ('%ocamlopt', config.ocamlopt_executable) )
 config.substitutions.append( ('%llvmshlibdir', config.llvm_shlib_dir) )
 config.substitutions.append( ('%shlibext', config.llvm_shlib_ext) )
 config.substitutions.append( ('%exeext', config.llvm_exe_ext) )
+config.substitutions.append( ('%python', config.python_executable) )
 
 # For each occurrence of an llvm tool name as its own word, replace it
 # with the full path to the build directory holding that tool.  This