summaryrefslogtreecommitdiff
path: root/gnu/packages/gettext.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-11-23 16:19:39 +0100
committerLudovic Courtès <ludo@gnu.org>2022-11-23 19:34:42 +0100
commit2b151eb2868f28c098328019e24cb1d05cd19d2b (patch)
tree4b82742dbeada5e7a5589b9dc7792b050212907a /gnu/packages/gettext.scm
parent7a2082023ad9c7479bfedf39537606a088222d48 (diff)
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.
Diffstat (limited to 'gnu/packages/gettext.scm')
-rw-r--r--gnu/packages/gettext.scm10
1 files changed, 8 insertions, 2 deletions
diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm
index d606acf798f..5df30c4be35 100644
--- a/gnu/packages/gettext.scm
+++ b/gnu/packages/gettext.scm
@@ -120,13 +120,19 @@
120 "coreutils-gnulib-tests.patch"))))) 120 "coreutils-gnulib-tests.patch")))))
121 '()) 121 '())
122 122
123 #$@(if (hurd-target?)
124 #~((substitute*
125 "gettext-tools/gnulib-tests/Makefile.in"
126 ;; See 'coreutils' for the rationale.
127 ((" test-tls\\$\\(EXEEXT\\) ") " ")))
128 '())
129
123 #t))))) 130 #t)))))
124 131
125 ;; When tests fail, we want to know the details. 132 ;; When tests fail, we want to know the details.
126 #:make-flags #~'("VERBOSE=yes" 133 #:make-flags #~'("VERBOSE=yes"
127 #$@(if (hurd-target?) 134 #$@(if (hurd-target?)
128 ;; Linking to libgettextlib.so makes test-raise fail 135 '("XFAIL_TESTS=test-perror2")
129 '("XFAIL_TESTS=test-raise")
130 '())))) 136 '()))))
131 (home-page "https://www.gnu.org/software/gettext/") 137 (home-page "https://www.gnu.org/software/gettext/")
132 (synopsis 138 (synopsis