[lld] 337fb8c - [lld-macho] Set REQUIRES: x86 on more tests
Jez Ng via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 14 19:05:24 PDT 2020
Author: Jez Ng
Date: 2020-06-14T19:05:12-07:00
New Revision: 337fb8c767ea93058517cb9b0be5daf21b448b71
URL: https://github.com/llvm/llvm-project/commit/337fb8c767ea93058517cb9b0be5daf21b448b71
DIFF: https://github.com/llvm/llvm-project/commit/337fb8c767ea93058517cb9b0be5daf21b448b71.diff
LOG: [lld-macho] Set REQUIRES: x86 on more tests
Summary: Fixes the build break caused by D81802.
Added:
Modified:
lld/test/MachO/invalid/alignment-too-large.yaml
lld/test/MachO/platform-version.test
lld/test/MachO/search-paths.test
lld/test/MachO/silent-ignore.test
Removed:
################################################################################
diff --git a/lld/test/MachO/invalid/alignment-too-large.yaml b/lld/test/MachO/invalid/alignment-too-large.yaml
index 79950524bcf8..b38115cbdbb7 100644
--- a/lld/test/MachO/invalid/alignment-too-large.yaml
+++ b/lld/test/MachO/invalid/alignment-too-large.yaml
@@ -1,3 +1,4 @@
+# REQUIRES: x86
# RUN: yaml2obj %s -o %t.o
# RUN: not lld -flavor darwinnew -o %t %t.o 2>&1 | FileCheck %s
#
diff --git a/lld/test/MachO/platform-version.test b/lld/test/MachO/platform-version.test
index 4c486c684dfa..d6b5063a9f11 100644
--- a/lld/test/MachO/platform-version.test
+++ b/lld/test/MachO/platform-version.test
@@ -1,3 +1,4 @@
+# REQUIRES: x86
# RUN: not lld -flavor darwinnew -platform_version 2>&1 \
# RUN: | FileCheck --check-prefix=FAIL %s
# RUN: not lld -flavor darwinnew -platform_version macos 2>&1 \
diff --git a/lld/test/MachO/search-paths.test b/lld/test/MachO/search-paths.test
index 84e8ba93c616..8a7f7ae71fbe 100644
--- a/lld/test/MachO/search-paths.test
+++ b/lld/test/MachO/search-paths.test
@@ -1,3 +1,4 @@
+REQUIRES: x86
RUN: mkdir -p %t
RUN: lld -flavor darwinnew -v -L%t 2>&1 | FileCheck -DDIR=%t %s
diff --git a/lld/test/MachO/silent-ignore.test b/lld/test/MachO/silent-ignore.test
index ae68dd8fe81f..632bc099e2dc 100644
--- a/lld/test/MachO/silent-ignore.test
+++ b/lld/test/MachO/silent-ignore.test
@@ -1,3 +1,4 @@
+REQUIRES: x86
RUN: lld -flavor darwinnew -v \
RUN: -demangle \
RUN: -dynamic \
More information about the llvm-commits
mailing list