summaryrefslogtreecommitdiff
path: root/test/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-08 22:32:20 +0000
committerChris Lattner <sabre@nondot.org>2006-03-08 22:32:20 +0000
commit3726ff0099dd28874c1c135c755964a2aeb669cb (patch)
tree25362c6c118e8ac607f92f392f08729d908fbce4 /test/lib
parente25f5bb196fa91b186d433712d3ba2f176f3c744 (diff)
Automatically pass -emit-llvm to llvmgcc when using %llvmgcc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26623 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/llvm-dg.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/llvm-dg.exp b/test/lib/llvm-dg.exp
index 3e10e01acfd..13df64ba408 100644
--- a/test/lib/llvm-dg.exp
+++ b/test/lib/llvm-dg.exp
@@ -57,10 +57,10 @@ proc llvm-runtest { programs objdir srcdir subdir target_triplet llvmgcc llvmgxx
regsub -all {%p} $new_runline [file join $srcdir $subdir] new_runline
#replace %llvmgcc with actual path to llvmgcc
- regsub -all {%llvmgcc} $new_runline $llvmgcc new_runline
+ regsub -all {%llvmgcc} $new_runline "$llvmgcc -emit-llvm" new_runline
#replace %llvmgxx with actual path to llvmg++
- regsub -all {%llvmgxx} $new_runline $llvmgxx new_runline
+ regsub -all {%llvmgxx} $new_runline "$llvmgxx -emit-llvm" new_runline
puts $scriptFileId $new_runline
} elseif {[regexp {XFAIL:[ *](.+)} $line match targets]} {