gnu: guile-fibers: Skip some long tests on some architectures.

* gnu/packages/guile-xyz.scm (guile-fibers-1.1)[arguments]: Add custom
phase to skip some overly long tests.
This commit is contained in:
Efraim Flashner 2022-09-23 09:10:33 +03:00
parent d169ae7c53
commit e19b3d4003
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -620,7 +620,19 @@ (define-public guile-fibers-1.1
(build-system gnu-build-system)
(arguments
(list #:make-flags
#~(list "GUILE_AUTO_COMPILE=0")))
#~(list "GUILE_AUTO_COMPILE=0")
#:phases
(if (target-x86-64?)
#~%standard-phases
#~(modify-phases %standard-phases
(add-before 'check 'disable-some-tests
(lambda _
;; This test can take more than an hour on some systems.
(substitute* "tests/basic.scm"
((".*spawn-fiber loop-to-1e4.*") ""))
;; These tests can take more than an hour and/or segfault.
(substitute* "Makefile"
(("tests/speedup.scm") ""))))))))
(native-inputs
(list texinfo pkg-config autoconf automake libtool
guile-3.0 ;for 'guild compile