From 7a84d971c9a9b096148458242803961a9ebc5685 Mon Sep 17 00:00:00 2001 From: Jason Eckhardt Date: Sat, 9 Dec 2023 21:30:01 -0600 Subject: [PATCH] [SOL] Temporarily disable opt-viewer tests for MacOS. (#71) These tests currently fail on some Macs for some versions of Python, causing our CI to fail. See, e.g., https://github.com/llvm/llvm-project/issues/62403 and references therein. --- lld/test/MachO/compact-unwind-generated.test | 1 + llvm/test/tools/opt-viewer/lit.local.cfg | 3 +++ 2 files changed, 4 insertions(+) diff --git a/lld/test/MachO/compact-unwind-generated.test b/lld/test/MachO/compact-unwind-generated.test index 4dbfbf5ce6809f..cd47d552287c2a 100644 --- a/lld/test/MachO/compact-unwind-generated.test +++ b/lld/test/MachO/compact-unwind-generated.test @@ -1,4 +1,5 @@ # REQUIRES: x86 +# XFAIL: system-darwin # FIXME(gkm): This test is fast on a Release tree, and slow (~10s) on # a Debug tree mostly because of llvm-mc. Is there a way to prefer the diff --git a/llvm/test/tools/opt-viewer/lit.local.cfg b/llvm/test/tools/opt-viewer/lit.local.cfg index 90f09fed2f0bb5..af4d7424f5eddf 100644 --- a/llvm/test/tools/opt-viewer/lit.local.cfg +++ b/llvm/test/tools/opt-viewer/lit.local.cfg @@ -8,3 +8,6 @@ if 'have_opt_viewer_modules' not in config.available_features: # can be resolved. if sys.platform == 'win32': config.unsupported = True + +if sys.platform == 'darwin': + config.unsupported = True