From b25f32bab8744b5955a64a97deb1aac10418986a Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Mon, 7 Sep 2009 19:25:54 +0000 Subject: Avoid Tcl substitution, introduced %llvmgcc_only for this one little test (%llvmgcc includes a '-w' argument, and this test looks for warnings). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81152 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/lib/llvm.exp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/lib/llvm.exp') diff --git a/test/lib/llvm.exp b/test/lib/llvm.exp index eb43758..cd36c61 100644 --- a/test/lib/llvm.exp +++ b/test/lib/llvm.exp @@ -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++ -- cgit v1.1