diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2025-03-10 22:49:38 +0200 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2025-03-13 14:34:59 +0200 |
| commit | 2650a32e7aba3eedb277b6ad2aec64edd6e5c0de (patch) | |
| tree | 8bb9ee2742f107de5e8109b83dd2a3a1ac469878 | |
| parent | 3eca82d9362787ff760bf581970bcd7deb63b522 (diff) | |
fixup Add node-12
Change-Id: I047f9a59b282f15764f48b0c2479cce6f723834a
| -rw-r--r-- | gnu/packages/node.scm | 81 |
1 files changed, 56 insertions, 25 deletions
diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm index 9c0440d0c1b..5eb2323f6ef 100644 --- a/gnu/packages/node.scm +++ b/gnu/packages/node.scm | |||
| @@ -397,6 +397,7 @@ devices.") | |||
| 397 | "--shared-nghttp2" | 397 | "--shared-nghttp2" |
| 398 | "--shared-openssl" | 398 | "--shared-openssl" |
| 399 | "--shared-zlib" | 399 | "--shared-zlib" |
| 400 | "--verbose" | ||
| 400 | "--without-snapshot" | 401 | "--without-snapshot" |
| 401 | "--without-inspector" ; build without llhttp | 402 | "--without-inspector" ; build without llhttp |
| 402 | "--with-intl=system-icu") | 403 | "--with-intl=system-icu") |
| @@ -451,6 +452,7 @@ devices.") | |||
| 451 | "test/parallel/test-child-process-exec-env.js") | 452 | "test/parallel/test-child-process-exec-env.js") |
| 452 | (("'/usr/bin/env'") | 453 | (("'/usr/bin/env'") |
| 453 | (string-append "'" (search-input-file inputs "/bin/env") "'"))))) | 454 | (string-append "'" (search-input-file inputs "/bin/env") "'"))))) |
| 455 | #; | ||
| 454 | (add-after 'unpack 'extend-default-test-timeout | 456 | (add-after 'unpack 'extend-default-test-timeout |
| 455 | (lambda _ | 457 | (lambda _ |
| 456 | ;; The default is 120ms, with a multiplier for some architectures. | 458 | ;; The default is 120ms, with a multiplier for some architectures. |
| @@ -528,30 +530,61 @@ devices.") | |||
| 528 | (cond | 530 | (cond |
| 529 | (,(target-ppc64le?) | 531 | (,(target-ppc64le?) |
| 530 | (delete-file "test/parallel/test-worker-nearheaplimit-deadlock.js")) | 532 | (delete-file "test/parallel/test-worker-nearheaplimit-deadlock.js")) |
| 531 | #; | ||
| 532 | (,(target-aarch64?) | 533 | (,(target-aarch64?) |
| 533 | ;; These tests timeout | 534 | ;; These tests timeout even with an extended timeout. |
| 534 | (for-each | 535 | (with-directory-excursion "test/parallel" |
| 535 | delete-file | 536 | (for-each |
| 536 | '( | 537 | delete-file |
| 537 | "test/parallel/test-async-hooks-worker-asyncfn-terminate-1.js" | 538 | '( |
| 538 | "test/parallel/test-async-hooks-worker-asyncfn-terminate-2.js" | 539 | "test-async-hooks-worker-asyncfn-terminate-1.js" |
| 539 | "test/parallel/test-async-hooks-worker-asyncfn-terminate-3.js" | 540 | "test-async-hooks-worker-asyncfn-terminate-2.js" |
| 540 | "test/parallel/test-async-hooks-worker-asyncfn-terminate-4.js" | 541 | "test-async-hooks-worker-asyncfn-terminate-3.js" |
| 541 | "test/parallel/test-cli-node-options.js" | 542 | "test-async-hooks-worker-asyncfn-terminate-4.js" |
| 542 | "test/parallel/test-crypto-key-objects-messageport.js" | 543 | "test-cli-node-options.js" |
| 543 | "test/parallel/test-crypto-worker-thread.js" | 544 | "test-crypto-key-objects-messageport.js" |
| 544 | "test/parallel/test-disable-proto-delete.js" | 545 | "test-crypto-worker-thread.js" |
| 545 | "test/parallel/test-disable-proto-throw.js" | 546 | "test-disable-proto-delete.js" |
| 546 | "test/parallel/test-performance-eventlooputil.js" | 547 | "test-disable-proto-throw.js" |
| 547 | "test/parallel/test-preload.js" | 548 | "test-performance-eventlooputil.js" |
| 548 | "test/parallel/test-process-exec-argv.js" | 549 | "test-preload.js" |
| 549 | "test/parallel/test-require-symlink.js" | 550 | "test-process-exec-argv.js" |
| 550 | "test/parallel/test-trace-events-api-worker-disabled.js" | 551 | "test-require-symlink.js" |
| 551 | "test/parallel/test-trace-events-async-hooks-worker.js" | 552 | "test-trace-events-api-worker-disabled.js" |
| 552 | "test/parallel/test-trace-events-worker-metadata.js" | 553 | "test-trace-events-async-hooks-worker.js" |
| 553 | "test/parallel/test-trace-exit.js" | 554 | "test-trace-events-worker-metadata.js" |
| 554 | ))) | 555 | "test-trace-exit.js" |
| 556 | "test-worker.js" | ||
| 557 | "test-worker-abort-on-uncaught-exception.js" | ||
| 558 | "test-worker-abort-on-uncaught-exception-terminate.js" | ||
| 559 | "test-worker-arraybuffer-zerofill.js" | ||
| 560 | "test-worker-cjs-workerdata.js" | ||
| 561 | "test-worker-cleanexit-with-js.js" | ||
| 562 | "test-worker-cleanexit-with-moduleload.js" | ||
| 563 | "test-worker-cleanup-handles.js" | ||
| 564 | "test-worker-console-listeners.js" | ||
| 565 | "test-worker-crypto-sign-transfer-result.js" | ||
| 566 | "test-worker-dns-terminate.js" | ||
| 567 | "test-worker-dns-terminate-during-query.js" | ||
| 568 | "test-worker-error-stack-getter-throws.js" | ||
| 569 | "test-worker-esm-exit.js" | ||
| 570 | "test-worker-esm-missing-main.js" | ||
| 571 | "test-worker-esmodule.js" | ||
| 572 | "test-worker-eventlooputil.js" | ||
| 573 | "test-worker-execargv.js" | ||
| 574 | "test-worker-exit-code.js" | ||
| 575 | "test-worker-exit-event-error.js" | ||
| 576 | "test-worker-exit-from-uncaught-exception.js" | ||
| 577 | "test-worker-fs-stat-watcher.js" | ||
| 578 | "test-worker-heapdump-failure.js" | ||
| 579 | "test-worker-http2-generic-streams-terminate.js" | ||
| 580 | "test-worker-init-failure.js" | ||
| 581 | "test-worker-memory.js" | ||
| 582 | "test-worker-message-channel.js" | ||
| 583 | "test-worker-message-channel-sharedarraybuffer.js" | ||
| 584 | "test-worker-message-not-serializable.js" | ||
| 585 | "test-worker-message-port-drain.js" | ||
| 586 | "test-worker-message-port-message-before-close.js" | ||
| 587 | )))) | ||
| 555 | (else #t)) | 588 | (else #t)) |
| 556 | 589 | ||
| 557 | ;; These tests have an expiry date: they depend on the validity of | 590 | ;; These tests have an expiry date: they depend on the validity of |
| @@ -613,8 +646,6 @@ devices.") | |||
| 613 | "x64") | 646 | "x64") |
| 614 | ((? (cut string-prefix? "powerpc64" <>)) | 647 | ((? (cut string-prefix? "powerpc64" <>)) |
| 615 | "ppc64") | 648 | "ppc64") |
| 616 | ((? (cut string-prefix? "powerpc" <>)) | ||
| 617 | "ppc") | ||
| 618 | ((? (cut string-prefix? "riscv64" <>)) | 649 | ((? (cut string-prefix? "riscv64" <>)) |
| 619 | "riscv64") | 650 | "riscv64") |
| 620 | (_ "unsupported")))) | 651 | (_ "unsupported")))) |
