gnu: node: Update to 10.16.0.

* gnu/packages/node.scm (node): Update to 10.16.0.
[arguments]: Enable previously failing tests.  Disable
'sequential/test-performance.js' and 'parallel/test-dns.js'.
This commit is contained in:
Marius Bakke 2019-07-13 01:43:47 +02:00
parent 7555d53924
commit 4c482696a6
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 10 additions and 14 deletions

View File

@ -45,14 +45,14 @@
(define-public node (define-public node
(package (package
(name "node") (name "node")
(version "10.15.3") (version "10.16.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://nodejs.org/dist/v" version (uri (string-append "https://nodejs.org/dist/v" version
"/node-v" version ".tar.xz")) "/node-v" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"1mcijznh481s44i59p571a38bfvcxm9f8x2l0l1005aly0kdj8jf")) "0236jlb1hxhzqjlmmlxipcycrndiq92c8434iyy7zshh3n4pzqqq"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
`(begin `(begin
@ -95,7 +95,8 @@
(substitute* '("lib/child_process.js" (substitute* '("lib/child_process.js"
"lib/internal/v8_prof_polyfill.js" "lib/internal/v8_prof_polyfill.js"
"test/parallel/test-child-process-spawnsync-shell.js" "test/parallel/test-child-process-spawnsync-shell.js"
"test/parallel/test-stdio-closed.js") "test/parallel/test-stdio-closed.js"
"test/sequential/test-child-process-emfile.js")
(("'/bin/sh'") (("'/bin/sh'")
(string-append "'" (which "sh") "'"))) (string-append "'" (which "sh") "'")))
@ -109,18 +110,13 @@
;; FIXME: These tests fail in the build container, but they don't ;; FIXME: These tests fail in the build container, but they don't
;; seem to be indicative of real problems in practice. ;; seem to be indicative of real problems in practice.
(for-each delete-file (for-each delete-file
'("test/async-hooks/test-ttywrap.readstream.js" '("test/parallel/test-cluster-master-error.js"
"test/parallel/test-util-inspect.js"
"test/parallel/test-v8-serdes.js"
"test/parallel/test-dgram-membership.js"
"test/parallel/test-dns-cancel-reverse-lookup.js"
"test/parallel/test-dns-resolveany.js"
"test/parallel/test-cluster-master-error.js"
"test/parallel/test-cluster-master-kill.js" "test/parallel/test-cluster-master-kill.js"
"test/parallel/test-net-listen-after-destroying-stdin.js" ;; See also <https://github.com/nodejs/node/issues/25903>.
"test/parallel/test-npm-install.js" "test/sequential/test-performance.js"))
"test/sequential/test-child-process-emfile.js"
"test/sequential/test-http-regr-gh-2928.js")) ;; This requires a DNS resolver.
(delete-file "test/parallel/test-dns.js")
;; These tests have an expiry date: they depend on the validity of ;; These tests have an expiry date: they depend on the validity of
;; TLS certificates that are bundled with the source. We want this ;; TLS certificates that are bundled with the source. We want this