gleam: skip failing tests on x86_64-darwin (#455863)

This commit is contained in:
Yt
2025-11-07 12:49:10 +00:00
committed by GitHub

View File

@@ -1,5 +1,6 @@
{
lib,
stdenv,
rustPlatform,
fetchFromGitHub,
git,
@@ -46,6 +47,26 @@ rustPlatform.buildRustPackage (finalAttrs: {
checkFlags = [
# Makes a network request
"--skip=tests::echo::echo_dict"
]
++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [
# Snapshot tests fail because a warning is shown on stdout
# warn: CPU lacks AVX support, strange crashes may occur. Reinstall Bun or use *-baseline build:
# https://github.com/oven-sh/bun/releases/download/bun-v1.3.1/bun-darwin-x64-baseline.zip
"--skip=tests::echo::echo_bitarray"
"--skip=tests::echo::echo_bool"
"--skip=tests::echo::echo_charlist"
"--skip=tests::echo::echo_circular_reference"
"--skip=tests::echo::echo_custom_type"
"--skip=tests::echo::echo_float"
"--skip=tests::echo::echo_function"
"--skip=tests::echo::echo_importing_module_named_inspect"
"--skip=tests::echo::echo_int"
"--skip=tests::echo::echo_list"
"--skip=tests::echo::echo_nil"
"--skip=tests::echo::echo_singleton"
"--skip=tests::echo::echo_string"
"--skip=tests::echo::echo_tuple"
"--skip=tests::echo::echo_with_message"
];
doInstallCheck = true;