summary refs log tree commit diff
path: root/gnu
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
parent7a2082023ad9c7479bfedf39537606a088222d48 (diff)
downloadguix-2b151eb2868f28c098328019e24cb1d05cd19d2b.tar.gz
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')
-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 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