[llvm-commits] CVS: llvm/test/CodeGen/SPARC/dg.exp
Reid Spencer
reid at x10sys.com
Sat Apr 21 13:42:03 PDT 2007
Changes in directory llvm/test/CodeGen/SPARC:
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/SPARC/dg.exp
diff -u llvm/test/CodeGen/SPARC/dg.exp:1.4 llvm/test/CodeGen/SPARC/dg.exp:1.5
--- llvm/test/CodeGen/SPARC/dg.exp:1.4 Sun Apr 15 16:17:45 2007
+++ llvm/test/CodeGen/SPARC/dg.exp Sat 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 Sparc] } {
+ RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
+}
More information about the llvm-commits
mailing list