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)
llvm-svn: 212819

llvm/test/lit.cfg

index 664d55f..4f01526 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