1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

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.
This commit is contained in:
Ludovic Courtès
2022-11-23 16:19:39 +01:00
parent 7a2082023a
commit 2b151eb286

View File

@@ -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