aboutsummaryrefslogtreecommitdiffstats
path: root/test/lib
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-07 19:25:54 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-07 19:25:54 +0000
commitb25f32bab8744b5955a64a97deb1aac10418986a (patch)
tree43a50d580c319c5de69a336f03674d0cefe23b8d /test/lib
parent3429c5e153d5315df7db1fcfb0a6a95cbfd48fba (diff)
downloadexternal_llvm-b25f32bab8744b5955a64a97deb1aac10418986a.zip
external_llvm-b25f32bab8744b5955a64a97deb1aac10418986a.tar.gz
external_llvm-b25f32bab8744b5955a64a97deb1aac10418986a.tar.bz2
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
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/llvm.exp2
1 files changed, 2 insertions, 0 deletions
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++