1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-27 19:41:50 +02:00

gnu: node: Disable failing tests on armhf-linux.

* gnu/packages/node.scm (node)[arguments]: When building on
armhf-linux, disable several zlib tests.
This commit is contained in:
Marius Bakke
2020-02-26 17:22:22 +01:00
parent 458c3ff552
commit 5cfc6a88e9
+15 -2
View File
@@ -74,8 +74,7 @@
#t)))) #t))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
;; TODO: Purge the bundled copies from the source. `(#:configure-flags '("--shared-cares"
'(#:configure-flags '("--shared-cares"
"--shared-http-parser" "--shared-http-parser"
"--shared-libuv" "--shared-libuv"
"--shared-nghttp2" "--shared-nghttp2"
@@ -121,6 +120,20 @@
;; https://github.com/nodejs/node/issues/31213 ;; https://github.com/nodejs/node/issues/31213
(delete-file "test/parallel/test-net-listen-after-destroying-stdin.js") (delete-file "test/parallel/test-net-listen-after-destroying-stdin.js")
;; FIXME: These tests fail on armhf-linux:
;; https://github.com/nodejs/node/issues/31970
,@(if (string-prefix? "arm" (%current-system))
'((for-each delete-file
'("test/parallel/test-zlib.js"
"test/parallel/test-zlib-brotli.js"
"test/parallel/test-zlib-brotli-flush.js"
"test/parallel/test-zlib-brotli-from-brotli.js"
"test/parallel/test-zlib-brotli-from-string.js"
"test/parallel/test-zlib-convenience-methods.js"
"test/parallel/test-zlib-random-byte-pipes.js"
"test/parallel/test-zlib-write-after-flush.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
;; package to be reproducible forever, so remove those. ;; package to be reproducible forever, so remove those.