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