[llvm-commits] CVS: llvm/test/CodeGen/Alpha/dg.exp
    Reid Spencer 
    reid at x10sys.com
       
    Sat Apr 21 13:42:03 PDT 2007
    
    
  
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}]]
+}
    
    
More information about the llvm-commits
mailing list