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

2007-04-21 Thread Reid Spencer


Changes in directory llvm/test/CodeGen/ARM:

dg.exp updated: 1.3 - 1.4
---
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/ARM/dg.exp
diff -u llvm/test/CodeGen/ARM/dg.exp:1.3 llvm/test/CodeGen/ARM/dg.exp:1.4
--- llvm/test/CodeGen/ARM/dg.exp:1.3Sun Apr 15 14:11:47 2007
+++ llvm/test/CodeGen/ARM/dg.expSat Apr 21 15:41:27 2007
@@ -1,3 +1,5 @@
 load_lib llvm.exp
 
-RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
+if { [llvm_supports_target ARM] } {
+  RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
+}



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


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

2007-04-11 Thread Reid Spencer


Changes in directory llvm/test/CodeGen/ARM:

dg.exp updated: 1.1 - 1.2
---
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/ARM/dg.exp
diff -u llvm/test/CodeGen/ARM/dg.exp:1.1 llvm/test/CodeGen/ARM/dg.exp:1.2
--- llvm/test/CodeGen/ARM/dg.exp:1.1Thu May 25 05:49:19 2006
+++ llvm/test/CodeGen/ARM/dg.expWed Apr 11 14:56:57 2007
@@ -1,3 +1,3 @@
 load_lib llvm-dg.exp
 
-llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] 
$objdir $srcdir $subdir $target_triplet $llvmgcc $llvmgxx $prcontext 
$llvmgcc_version
+llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]



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