Archived
1
0
Fork 0

gnu: mozjs: Fix build on riscv64-linux.

* gnu/packages/gnuzilla.scm (mozjs)[arguments]: When building for
riscv64-linux adjust the 'adjust-tests phase to skip 2 more tests
skipped by upstream.

Change-Id: Ia5fbe6782e3d1d8e1904cdf49a35e0666837b277
This commit is contained in:
Efraim Flashner 2024-05-30 11:44:12 +03:00
parent 5b2ee0f3d2
commit fce707186a
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -176,6 +176,14 @@
((".*killed process should not have exitStatus.*")
""))
;; This was fixed sometime between 102.15.1 and 115.11.0.
;; These tests are supposed to be skipped on all 64-bit systems.
#$@(if (target-riscv64?)
#~((substitute* '("non262/Array/regress-157652.js"
"non262/regress/regress-422348.js")
(("mips64") "mips64|riscv64")))
#~())
;; The test suite expects a lightly patched ICU. Disable tests
;; that do not work with the system version. See
;; "intl/icu-patches" for clues.