Avoid Tcl substitution, introduced %llvmgcc_only for this one little test
[oota-llvm.git] / test / lib / llvm.exp
index eb437588f3c3c6a2cf96cb5e2bee197ba13a1b41..cd36c61b5e754b75a9e372d3431afa79e6f35d18 100644 (file)
@@ -59,6 +59,8 @@ proc substitute { line test tmpFile } {
   regsub -all {%%} $new_line {_#MARKER#_} new_line
   #replace %prcontext with prcontext.tcl (Must replace before %p)
   regsub -all {%prcontext} $new_line $prcontext new_line
+  #replace %llvmgcc_only with actual path to llvmgcc
+  regsub -all {%llvmgcc_only} $new_line "$llvmgcc" new_line
   #replace %llvmgcc with actual path to llvmgcc
   regsub -all {%llvmgcc} $new_line "$llvmgcc -emit-llvm -w" new_line
   #replace %llvmgxx with actual path to llvmg++