[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: gnu: gettext: Skip Gnulib tests that fail on GNU/Hurd.
From: |
guix-commits |
Subject: |
01/03: gnu: gettext: Skip Gnulib tests that fail on GNU/Hurd. |
Date: |
Wed, 23 Nov 2022 13:36:19 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 2b151eb2868f28c098328019e24cb1d05cd19d2b
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed Nov 23 16:19:39 2022 +0100
gnu: gettext: Skip Gnulib tests that fail on GNU/Hurd.
* gnu/packages/gettext.scm (gettext-minimal)[arguments]: In
'patch-tests' phase, arrange to not run 'test-tls'. Adjust
'XFAIL_TESTS' flag passed to #:make-flags.
---
gnu/packages/gettext.scm | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm
index d606acf798..5df30c4be3 100644
--- a/gnu/packages/gettext.scm
+++ b/gnu/packages/gettext.scm
@@ -120,13 +120,19 @@
"coreutils-gnulib-tests.patch")))))
'())
+ #$@(if (hurd-target?)
+ #~((substitute*
+ "gettext-tools/gnulib-tests/Makefile.in"
+ ;; See 'coreutils' for the rationale.
+ ((" test-tls\\$\\(EXEEXT\\) ") " ")))
+ '())
+
#t)))))
;; When tests fail, we want to know the details.
#:make-flags #~'("VERBOSE=yes"
#$@(if (hurd-target?)
- ;; Linking to libgettextlib.so makes test-raise
fail
- '("XFAIL_TESTS=test-raise")
+ '("XFAIL_TESTS=test-perror2")
'()))))
(home-page "https://www.gnu.org/software/gettext/")
(synopsis