diff options
-rw-r--r-- | test/MC/AsmParser/dg.exp | 5 | ||||
-rw-r--r-- | test/MC/MachO/dg.exp | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/test/MC/AsmParser/dg.exp b/test/MC/AsmParser/dg.exp index ebd84187f5..ca6aefe9c5 100644 --- a/test/MC/AsmParser/dg.exp +++ b/test/MC/AsmParser/dg.exp @@ -1,3 +1,6 @@ load_lib llvm.exp -RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{s}]] +if { [llvm_supports_target X86] } { + RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{s}]] +} + diff --git a/test/MC/MachO/dg.exp b/test/MC/MachO/dg.exp index ebd84187f5..ca6aefe9c5 100644 --- a/test/MC/MachO/dg.exp +++ b/test/MC/MachO/dg.exp @@ -1,3 +1,6 @@ load_lib llvm.exp -RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{s}]] +if { [llvm_supports_target X86] } { + RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{s}]] +} + |