aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/GC/dg.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/GC/dg.exp')
-rw-r--r--test/CodeGen/X86/GC/dg.exp4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/CodeGen/X86/GC/dg.exp b/test/CodeGen/X86/GC/dg.exp
index f2005891a5..629a147736 100644
--- a/test/CodeGen/X86/GC/dg.exp
+++ b/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}]]
+}