mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: guile: Change ‘guile-3.0-latest’ to 3.0.11.
* gnu/packages/guile.scm (guile-3.0-latest): Switch to ‘guile-3.0.11’. * gnu/packages/ci.scm (cuirass)[arguments]: Add ‘skip-known-failing-tests’ phase. Change-Id: I3f93c2947875b68252475291e068071a6054a5f5
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
;;; Copyright © 2022, 2024 Arun Isaac <arunisaac@systemreboot.net>
|
||||
;;; Copyright © 2023 David Pflug <david@pflug.io>
|
||||
;;; Copyright © 2025 David Thompson <davet@gnu.org>
|
||||
;;; Copyright © 2025 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2025-2026 Ludovic Courtès <ludo@gnu.org>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
@@ -93,6 +93,7 @@
|
||||
(srfi srfi-1))
|
||||
#:configure-flags #~'("--localstatedir=/var" ;for /var/log/cuirass
|
||||
"--sysconfdir=/etc") ;for /etc/cuirass/forge-tokens
|
||||
|
||||
;; XXX: HTTP tests fail on aarch64 due to Fibers errors, disable them
|
||||
;; on that architecture for now.
|
||||
#:tests? (let ((s (or (%current-target-system)
|
||||
@@ -101,6 +102,21 @@
|
||||
#:parallel-tests? #f
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'check 'skip-known-failing-tests
|
||||
(lambda _
|
||||
;; Skip tests that fail with SRFI-64 as found in Guile
|
||||
;; 3.0.11. Remove this phase when
|
||||
;; <https://codeberg.org/guix/cuirass/pulls/125> is merged.
|
||||
(substitute* "tests/database.scm"
|
||||
(("\\(test-equal \"db-update-specification, \
|
||||
missing spec\"" all)
|
||||
(string-append "(test-skip 1)\n" all)))
|
||||
(substitute* "tests/forgejo.scm"
|
||||
(("\\(test-equal \"forgejo-handle-notification\"" all)
|
||||
(string-append "(test-skip 1)\n" all)))
|
||||
(substitute* "tests/remote.scm"
|
||||
(("\\(test-group-with-cleanup")
|
||||
"(test-group"))))
|
||||
(add-after 'install 'wrap-program
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
;; Wrap the 'cuirass' command to refer to the right modules.
|
||||
|
||||
@@ -523,7 +523,7 @@ without requiring the source code to be rewritten.")
|
||||
(define-public guile-3.0-latest
|
||||
;; At the moment 3.0.11 leads to test failures in the 'guix' package so we
|
||||
;; cannot switch just yet: see <https://codeberg.org/guix/guix/pulls/5360>.
|
||||
guile-3.0)
|
||||
guile-3.0.11)
|
||||
|
||||
;;; The symbol guile-3.0/fixed should be used when guile-3.0 needs fixes
|
||||
;;; (security or else) and this deprecation could be removed.
|
||||
|
||||
Reference in New Issue
Block a user