mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: guile-fibers-1.4: Skip 3 tests on the Hurd.
* gnu/packages/guile-xyz.scm (guile-fibers-1.4): Add a phase to disable 3 tests when building for the Hurd. Change-Id: I12f37af0a3e1df097164d43608c199c3718093f2 Signed-off-by: Ludovic Courtès <ludo@gnu.org> Merges: #6451
This commit is contained in:
committed by
Ludovic Courtès
parent
390fc5dddb
commit
21a4e284d0
@@ -1188,7 +1188,20 @@ is not available for Guile 2.0.")
|
||||
;; is used. (Note: The Shepherd disables JIT on
|
||||
;; AArch64 so it can safely use Fibers.)
|
||||
(setenv "GUILE_JIT_THRESHOLD" "-1")))))
|
||||
'()))))
|
||||
(if (target-hurd?)
|
||||
(list #:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'check 'disable-more-tests
|
||||
(lambda _
|
||||
(substitute* "Makefile"
|
||||
;; clock_nanosleep with a clock from
|
||||
;; pthread-getcpuclockid fails with EINVAL
|
||||
;; https://codeberg.org/guile/fibers/issues/171
|
||||
(("tests/preemption.scm") "")
|
||||
;; heap grows too much
|
||||
(("tests/cancel-port-waiters.scm") "")
|
||||
(("tests/cancel-timer.scm") ""))))))
|
||||
'())))))
|
||||
|
||||
(define-public guile-fibers guile-fibers-1.4)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user