From fd9bf36070cd81e8d76882459f4a14665d8f00d0 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 8 Mar 2006 22:32:20 +0000 Subject: [PATCH] Automatically pass -emit-llvm to llvmgcc when using %llvmgcc llvm-svn: 26623 --- llvm/test/lib/llvm-dg.exp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/test/lib/llvm-dg.exp b/llvm/test/lib/llvm-dg.exp index 3e10e01acfd2..13df64ba408f 100644 --- a/llvm/test/lib/llvm-dg.exp +++ b/llvm/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]} {