tests: loosen restriction

The MachO tests can run on any target, but require that the x86 backend
is available.  Broaden the coverage of the test.

llvm-svn: 353012
This commit is contained in:
Saleem Abdulrasool 2019-02-04 00:09:32 +00:00
parent b33b410283
commit 764727d92e
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,3 @@
REQUIRES: system-darwin
# RUN: llvm-mc -assemble -triple i386-apple-darwin9 -filetype=obj %p/Inputs/macho.32.s -o %t.32.o # RUN: llvm-mc -assemble -triple i386-apple-darwin9 -filetype=obj %p/Inputs/macho.32.s -o %t.32.o
# RUN: llvm-objcopy %t.32.o %t.32.copy.o # RUN: llvm-objcopy %t.32.o %t.32.copy.o
# RUN: cmp %t.32.o %t.32.copy.o # RUN: cmp %t.32.o %t.32.copy.o
@ -6,3 +5,5 @@ REQUIRES: system-darwin
# RUN: llvm-mc -assemble -triple x86_64-apple-darwin9 -filetype=obj %p/Inputs/macho.64.s -o %t.64.o # RUN: llvm-mc -assemble -triple x86_64-apple-darwin9 -filetype=obj %p/Inputs/macho.64.s -o %t.64.o
# RUN: llvm-objcopy %t.64.o %t.64.copy.o # RUN: llvm-objcopy %t.64.o %t.64.copy.o
# RUN: cmp %t.64.o %t.64.copy.o # RUN: cmp %t.64.o %t.64.copy.o
# REQUIRES: x86-registered-target