From 2b151eb2868f28c098328019e24cb1d05cd19d2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Wed, 23 Nov 2022 16:19:39 +0100 Subject: [PATCH] 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. --- gnu/packages/gettext.scm | 10 ++++++++-- 1 file 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 @@ (define-public gettext-minimal "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