summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/CodeGen/ARM/dg.exp4
-rw-r--r--llvm/test/CodeGen/Alpha/dg.exp4
-rw-r--r--llvm/test/CodeGen/CBackend/dg.exp4
-rw-r--r--llvm/test/CodeGen/IA64/dg.exp4
-rw-r--r--llvm/test/CodeGen/PowerPC/dg.exp4
-rw-r--r--llvm/test/CodeGen/SPARC/dg.exp4
-rw-r--r--llvm/test/CodeGen/X86/dg.exp4
7 files changed, 21 insertions, 7 deletions
diff --git a/llvm/test/CodeGen/ARM/dg.exp b/llvm/test/CodeGen/ARM/dg.exp
index 879685ca879..ba4ade5c104 100644
--- a/llvm/test/CodeGen/ARM/dg.exp
+++ b/llvm/test/CodeGen/ARM/dg.exp
@@ -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}]]
+}
diff --git a/llvm/test/CodeGen/Alpha/dg.exp b/llvm/test/CodeGen/Alpha/dg.exp
index 39954d8a498..fb9f710b295 100644
--- a/llvm/test/CodeGen/Alpha/dg.exp
+++ b/llvm/test/CodeGen/Alpha/dg.exp
@@ -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}]]
+}
diff --git a/llvm/test/CodeGen/CBackend/dg.exp b/llvm/test/CodeGen/CBackend/dg.exp
index 879685ca879..304b90f4ff0 100644
--- a/llvm/test/CodeGen/CBackend/dg.exp
+++ b/llvm/test/CodeGen/CBackend/dg.exp
@@ -1,3 +1,5 @@
load_lib llvm.exp
-RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
+if { [llvm_supports_target CBackend] } {
+ RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
+}
diff --git a/llvm/test/CodeGen/IA64/dg.exp b/llvm/test/CodeGen/IA64/dg.exp
index 879685ca879..32e44b4aec5 100644
--- a/llvm/test/CodeGen/IA64/dg.exp
+++ b/llvm/test/CodeGen/IA64/dg.exp
@@ -1,3 +1,5 @@
load_lib llvm.exp
-RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
+if { [llvm_supports_target IA64] } {
+ RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
+}
diff --git a/llvm/test/CodeGen/PowerPC/dg.exp b/llvm/test/CodeGen/PowerPC/dg.exp
index 879685ca879..22b60bc721f 100644
--- a/llvm/test/CodeGen/PowerPC/dg.exp
+++ b/llvm/test/CodeGen/PowerPC/dg.exp
@@ -1,3 +1,5 @@
load_lib llvm.exp
-RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
+if { [llvm_supports_target PowerPC] } {
+ RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
+}
diff --git a/llvm/test/CodeGen/SPARC/dg.exp b/llvm/test/CodeGen/SPARC/dg.exp
index 879685ca879..a1ce6a10612 100644
--- a/llvm/test/CodeGen/SPARC/dg.exp
+++ b/llvm/test/CodeGen/SPARC/dg.exp
@@ -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}]]
+}
diff --git a/llvm/test/CodeGen/X86/dg.exp b/llvm/test/CodeGen/X86/dg.exp
index 879685ca879..161fccceb09 100644
--- a/llvm/test/CodeGen/X86/dg.exp
+++ b/llvm/test/CodeGen/X86/dg.exp
@@ -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}]]
+}
OpenPOWER on IntegriCloud