diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-11-23 16:19:39 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-11-23 19:34:42 +0100 |
commit | 2b151eb2868f28c098328019e24cb1d05cd19d2b (patch) | |
tree | 4b82742dbeada5e7a5589b9dc7792b050212907a | |
parent | 7a2082023ad9c7479bfedf39537606a088222d48 (diff) | |
download | guix-2b151eb2868f28c098328019e24cb1d05cd19d2b.tar.gz guix-2b151eb2868f28c098328019e24cb1d05cd19d2b.zip |
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.
-rw-r--r-- | gnu/packages/gettext.scm | 10 |
1 files 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 |