From 21233a7d673bed083ebd08741a7e1d59cf65963e Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Mon, 4 Feb 2019 00:09:32 +0000 Subject: [PATCH] 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@353012 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/tools/llvm-objcopy/MachO/real-world-input-copy.test | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/tools/llvm-objcopy/MachO/real-world-input-copy.test b/test/tools/llvm-objcopy/MachO/real-world-input-copy.test index d29c2cc287a..d8e68a2e141 100644 --- a/test/tools/llvm-objcopy/MachO/real-world-input-copy.test +++ b/test/tools/llvm-objcopy/MachO/real-world-input-copy.test @@ -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-objcopy %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-objcopy %t.64.o %t.64.copy.o # RUN: cmp %t.64.o %t.64.copy.o + +# REQUIRES: x86-registered-target -- 2.50.1