[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
42/43: gnu: guile-2.0: Skip failing tests on the Hurd.
From: |
guix-commits |
Subject: |
42/43: gnu: guile-2.0: Skip failing tests on the Hurd. |
Date: |
Thu, 20 Jul 2023 04:22:31 -0400 (EDT) |
janneke pushed a commit to branch master
in repository guix.
commit c4c08775a820868059b59c68d4dfd6be0c9d9010
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Tue Jun 13 18:50:22 2023 +0200
gnu: guile-2.0: Skip failing tests on the Hurd.
* gnu/packages/guile.scm (guile-2.0)[arguments]: When building natively on
the
Hurd, add stage 'disable-threads.tests'...
(guile-2.2): ...and when building natively on the Hurd, delete it again.
---
gnu/packages/guile.scm | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index 64a1b900de..1d36e3ee2a 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -212,8 +212,13 @@ without requiring the source code to be rewritten.")
(rename-file "test-suite/tests/srfi-18.test"
"srfi-18.test")
;; failed to remove 't-guild-compile-7215.go.tdL7yC
(substitute* "test-suite/standalone/Makefile.in"
- (("test-guild-compile ") ""))
- #t)))
+ (("test-guild-compile ") "")))))
+ '())
+ ,@(if (system-hurd?)
+ '((add-after 'unpack 'disable-threads.tests
+ (lambda _
+ ;; Many tests hang, esp. (join-thread ..), also others.
+ (rename-file "test-suite/tests/threads.test"
"threads.test"))))
'())
(add-before 'configure 'pre-configure
(lambda* (#:key inputs #:allow-other-keys)
@@ -286,7 +291,12 @@ without requiring the source code to be rewritten.")
(if (target-x86-32?) ;<https://issues.guix.gnu.org/49368>
`(append '("--disable-static")
'("CFLAGS=-g -O2 -fexcess-precision=standard"))
- flags))))
+ flags))
+ ((#:phases phases '%standard-phases)
+ #~(modify-phases #$phases
+ #$@(if (system-hurd?)
+ #~((delete 'disable-threads.tests))
+ '())))))
(properties '((timeout . 72000) ;20 hours
(max-silent-time . 36000))) ;10 hours (needed on ARM
- 15/43: gnu: c-ares: Skip failing tests on the Hurd., (continued)
- 15/43: gnu: c-ares: Skip failing tests on the Hurd., guix-commits, 2023/07/20
- 29/43: gnu: swig: Skip tests when building for the Hurd., guix-commits, 2023/07/20
- 39/43: gnu: pango: Support build for the Hurd., guix-commits, 2023/07/20
- 19/43: gnu: curl: Skip failing test on the Hurd., guix-commits, 2023/07/20
- 30/43: gnu: zstd: Skip tests when building for the Hurd., guix-commits, 2023/07/20
- 35/43: gnu: guile-git: Skip http proxy test on the Hurd., guix-commits, 2023/07/20
- 36/43: gnu: glib: Disable hanging and failing tests for the Hurd., guix-commits, 2023/07/20
- 41/43: gnu: po4a: Skip failing test on the Hurd., guix-commits, 2023/07/20
- 16/43: gnu: libgpg-error: Skip failing test on the Hurd., guix-commits, 2023/07/20
- 31/43: gnu: cmake-bootstrap: Fix build for the Hurd., guix-commits, 2023/07/20
- 42/43: gnu: guile-2.0: Skip failing tests on the Hurd.,
guix-commits <=
- 43/43: gnu: hurd: Support native build on the Hurd., guix-commits, 2023/07/20
- 34/43: gnu: graphite2: Skip test on the Hurd., guix-commits, 2023/07/20
- 37/43: gnu: ghostscript: Fix build for the Hurd., guix-commits, 2023/07/20
- 38/43: gnu: harfbuzz: Support build for the Hurd., guix-commits, 2023/07/20
- 40/43: gnu: fontforge: Support build on the Hurd., guix-commits, 2023/07/20