[llvm-commits] CVS: llvm/test/lib/llvm-dg.exp

Chris Lattner lattner at cs.uiuc.edu
Wed Mar 8 14:32:34 PST 2006



Changes in directory llvm/test/lib:

llvm-dg.exp updated: 1.11 -> 1.12
---
Log message:

Automatically pass -emit-llvm to llvmgcc when using %llvmgcc


---
Diffs of the changes:  (+2 -2)

 llvm-dg.exp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/test/lib/llvm-dg.exp
diff -u llvm/test/lib/llvm-dg.exp:1.11 llvm/test/lib/llvm-dg.exp:1.12
--- llvm/test/lib/llvm-dg.exp:1.11	Tue Nov 30 00:29:45 2004
+++ llvm/test/lib/llvm-dg.exp	Wed Mar  8 16:32:20 2006
@@ -57,10 +57,10 @@
 		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]} {






More information about the llvm-commits mailing list