[Backport release-24.11] libuv: disable some tests on FreeBSD (#357176)

This commit is contained in:
Nick Cao 2024-11-19 09:43:55 -05:00 committed by GitHub
commit ebeef55007
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -79,6 +79,12 @@ stdenv.mkDerivation (finalAttrs: {
# I observe this test failing with some regularity on ARMv7:
# https://github.com/libuv/libuv/issues/1871
"shutdown_close_pipe"
] ++ lib.optionals stdenv.hostPlatform.isFreeBSD [
# EOPNOTSUPP when performed in jailed build env
"tcp_reuseport" "udp_reuseport"
# Fails when built on non-nix FreeBSD
# https://github.com/libuv/libuv/issues/4606
"fs_event_watch_delete_dir"
];
tdRegexp = lib.concatStringsSep "\\|" toDisable;
in lib.optionalString (finalAttrs.finalPackage.doCheck) ''