From d6709382e7188398047968f7f69a530edeeddfbf Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sun, 20 Apr 2025 21:55:52 +0200 Subject: [PATCH] tests: disable tests depending on broken sourcekit on aarch64-linux --- tests/lsp-servers.nix | 3 +++ tests/test-sources/plugins/by-name/efmls-configs/default.nix | 4 ++++ tests/test-sources/plugins/by-name/none-ls/default.nix | 3 +++ 3 files changed, 10 insertions(+) diff --git a/tests/lsp-servers.nix b/tests/lsp-servers.nix index 8504998b..ae238d4c 100644 --- a/tests/lsp-servers.nix +++ b/tests/lsp-servers.nix @@ -47,6 +47,9 @@ let "typst_lsp" ] ++ lib.optionals (hostPlatform.isLinux && hostPlatform.isAarch64) [ + # TODO: 2025-04-20 build failure (swift-corelibs-xctest) + "sourcekit" + # pkgs.vectorcode is not available on this platform "vectorcode_server" diff --git a/tests/test-sources/plugins/by-name/efmls-configs/default.nix b/tests/test-sources/plugins/by-name/efmls-configs/default.nix index 02fe9f66..b558c86f 100644 --- a/tests/test-sources/plugins/by-name/efmls-configs/default.nix +++ b/tests/test-sources/plugins/by-name/efmls-configs/default.nix @@ -35,6 +35,10 @@ "phpstan" "psalm" ] + ++ lib.optionals (hostPlatform.isLinux && hostPlatform.isAarch64) [ + # TODO: 2025-04-20 build failure (swift-corelibs-xctest) + "swiftformat" + ] ++ lib.optionals hostPlatform.isDarwin [ # As of 2024-01-04, texliveMedium is broken on darwin # TODO: re-enable those tests when fixed diff --git a/tests/test-sources/plugins/by-name/none-ls/default.nix b/tests/test-sources/plugins/by-name/none-ls/default.nix index d73deac5..59424f4e 100644 --- a/tests/test-sources/plugins/by-name/none-ls/default.nix +++ b/tests/test-sources/plugins/by-name/none-ls/default.nix @@ -114,6 +114,9 @@ ++ lib.optionals (hostPlatform.isLinux && hostPlatform.isAarch64) [ # Not available on aarch64-linux "smlfmt" + + # TODO: 2025-04-20 build failure (swift-corelibs-xctest) + "swift_format" ]; in # Enable every none-ls source that has an option