me
/
guix
Archived
1
0
Fork 0

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.
Ludovic Courtès 2022-11-23 16:19:39 +01:00
parent 7a2082023a
commit 2b151eb286
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 8 additions and 2 deletions

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