summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/test/CodeGen/X86/GC/dg.exp4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/GC/dg.exp b/llvm/test/CodeGen/X86/GC/dg.exp
index f2005891a59..629a1477361 100644
--- a/llvm/test/CodeGen/X86/GC/dg.exp
+++ b/llvm/test/CodeGen/X86/GC/dg.exp
@@ -1,3 +1,5 @@
load_lib llvm.exp
-RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
+if { [llvm_supports_target X86] } {
+ RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
+}
OpenPOWER on IntegriCloud