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

2007-04-21 Thread Reid Spencer


Changes in directory llvm/test/CodeGen/Alpha:

dg.exp updated: 1.4 - 1.5
---
Log message:

Use the llvm_supports_target function to prevent running of tests for 
targets that LLVM is not configured to support.


---
Diffs of the changes:  (+3 -1)

 dg.exp |4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)


Index: llvm/test/CodeGen/Alpha/dg.exp
diff -u llvm/test/CodeGen/Alpha/dg.exp:1.4 llvm/test/CodeGen/Alpha/dg.exp:1.5
--- llvm/test/CodeGen/Alpha/dg.exp:1.4  Sun Apr 15 13:40:57 2007
+++ llvm/test/CodeGen/Alpha/dg.exp  Sat Apr 21 15:41:27 2007
@@ -1,3 +1,5 @@
 load_lib llvm.exp
 
-RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll}]]
+if { [llvm_supports_target Alpha] } {
+  RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll}]]
+}



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2007-04-11 Thread Reid Spencer


Changes in directory llvm/test/CodeGen/Alpha:

dg.exp updated: 1.2 - 1.3
---
Log message:

Make the llvm-runtest function much more amenable by eliminating all the
global variables that needed to be passed in. This makes it possible to 
add new global variables with only a couple changes (Makefile and llvm-dg.exp)
instead of touching every single dg.exp file.


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

 dg.exp |2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/test/CodeGen/Alpha/dg.exp
diff -u llvm/test/CodeGen/Alpha/dg.exp:1.2 llvm/test/CodeGen/Alpha/dg.exp:1.3
--- llvm/test/CodeGen/Alpha/dg.exp:1.2  Wed Apr 12 16:57:34 2006
+++ llvm/test/CodeGen/Alpha/dg.exp  Wed Apr 11 14:56:57 2007
@@ -1,3 +1,3 @@
 load_lib llvm-dg.exp
 
-llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll}]] $objdir $srcdir 
$subdir $target_triplet $llvmgcc $llvmgxx $prcontext $llvmgcc_version
+llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll}]]



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits