nodejs: remove custom logic for skipping test (#497472)

This commit is contained in:
Antoine du Hamel
2026-03-07 07:33:48 +00:00
committed by GitHub
3 changed files with 14 additions and 4 deletions
-4
View File
@@ -461,10 +461,6 @@ let
++ lib.optionals (!lib.versionAtLeast version "22") [
"test-tls-multi-key"
]
++ lib.optionals useSharedAdaAndSimd [
# Different versions of Ada affect the WPT tests
"test-url"
]
++ lib.optionals stdenv.hostPlatform.is32bit [
# utime (actually utimensat) fails with EINVAL on 2038 timestamp
"test-fs-utimes-y2K38"
+7
View File
@@ -55,6 +55,13 @@ buildNodejs {
./use-correct-env-in-tests.patch
./bin-sh-node-run-v22.patch
./use-nix-codesign.patch
# TODO: remove this when included in a next release
(fetchpatch2 {
url = "https://github.com/nodejs/node/commit/a5e534c21af49ae1b34854846b6913daa7df0808.patch?full_index=1";
hash = "sha256-4cr94fsJrq5iCAHOf60wJQQkP/K2YWYY5W7GHs8Sbxg=";
includes = [ "test/*" ];
})
]
++ lib.optionals (!stdenv.hostPlatform.isStatic) [
# Fix builds with shared llhttp
+7
View File
@@ -56,6 +56,13 @@ buildNodejs {
./use-correct-env-in-tests.patch
./bin-sh-node-run-v22.patch
./use-nix-codesign.patch
# TODO: remove this when included in a next release
(fetchpatch2 {
url = "https://github.com/nodejs/node/commit/a5e534c21af49ae1b34854846b6913daa7df0808.patch?full_index=1";
hash = "sha256-4cr94fsJrq5iCAHOf60wJQQkP/K2YWYY5W7GHs8Sbxg=";
includes = [ "test/*" ];
})
]
++ gypPatches
++ lib.optionals (!stdenv.buildPlatform.isDarwin) [