summaryrefslogtreecommitdiffstats
path: root/llvm/test/lib
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-03-21 18:12:24 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-03-21 18:12:24 +0000
commit15f1754eb44316b33d17d18557df1b9a983a3d85 (patch)
tree3c59c7018b15f48ce5c6991e41b628a1e28c9e45 /llvm/test/lib
parent629aed9327049b57d609cf8795bc2a54ce1afee8 (diff)
downloadbcm5719-llvm-15f1754eb44316b33d17d18557df1b9a983a3d85.tar.gz
bcm5719-llvm-15f1754eb44316b33d17d18557df1b9a983a3d85.zip
Re-commit r67334 and r67349 with fix.
llvm-svn: 67451
Diffstat (limited to 'llvm/test/lib')
-rw-r--r--llvm/test/lib/llvm.exp6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/test/lib/llvm.exp b/llvm/test/lib/llvm.exp
index 254995bc4ae..d2ddb8f757f 100644
--- a/llvm/test/lib/llvm.exp
+++ b/llvm/test/lib/llvm.exp
@@ -48,8 +48,8 @@ proc execOneLine { test PRS outcome lineno line } {
proc substitute { line test tmpFile } {
global srcroot objroot srcdir objdir subdir target_triplet prcontext
global llvmgcc llvmgxx llvmgcc_version llvmgccmajvers ocamlc
- global gccpath gxxpath compile_c compile_cxx link shlibext llvmlibsdir llvmdsymutil
- global valgrind grep gas
+ global gccpath gxxpath compile_c compile_cxx link shlibext llvmlibsdir
+ global llvmdsymutil valgrind grep gas bugpoint_topts
set path [file join $srcdir $subdir]
# Substitute all Tcl variables.
@@ -77,6 +77,8 @@ proc substitute { line test tmpFile } {
regsub -all {%llvmdsymutil} $new_line "$llvmdsymutil" new_line
#replace %llvmlibsdir with configure library directory
regsub -all {%llvmlibsdir} $new_line "$llvmlibsdir" new_line
+ #replace %bugpoint_topts with actual bugpoint target options
+ regsub -all {%bugpoint_topts} $new_line "$bugpoint_topts" new_line
#replace %p with path to source,
regsub -all {%p} $new_line [file join $srcdir $subdir] new_line
#replace %s with filename
OpenPOWER on IntegriCloud