This is an automated email from the git hooks/post-receive script.

janneke pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 2fc298d  gnu: gettext-minimal: Mark "test-raise" test XFAIL on the 
Hurd.
2fc298d is described below

commit 2fc298d19c5256eb5609aae7bd35bada59d91685
Author: Jan (janneke) Nieuwenhuizen <[email protected]>
AuthorDate: Mon Oct 5 11:58:16 2020 +0200

    gnu: gettext-minimal: Mark "test-raise" test XFAIL on the Hurd.
    
    * gnu/packages/gettext.scm (gettext-minimal)[arguments]: When compiling for
    the Hurd, add "test-raise" to XFAIL_TESTS in make-flags.
---
 gnu/packages/gettext.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm
index b9070ae..426be35 100644
--- a/gnu/packages/gettext.scm
+++ b/gnu/packages/gettext.scm
@@ -9,6 +9,7 @@
 ;;; Copyright © 2017 Eric Bavier <[email protected]>
 ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <[email protected]>
 ;;; Copyright © 2019 Miguel <[email protected]>
+;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -34,6 +35,7 @@
   #:use-module (guix build-system perl)
   #:use-module (gnu packages docbook)
   #:use-module (gnu packages emacs)
+  #:use-module (gnu packages hurd)
   #:use-module (gnu packages libunistring)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages perl)
@@ -106,7 +108,11 @@
                #t)))))
 
        ;; When tests fail, we want to know the details.
-       #:make-flags '("VERBOSE=yes")))
+       #:make-flags '("VERBOSE=yes"
+                      ,@(if (hurd-target?)
+                            ;; Linking to libgettextlib.so makes test-raise 
fail
+                            '("XFAIL_TESTS=test-raise")
+                            '()))))
     (home-page "https://www.gnu.org/software/gettext/";)
     (synopsis
      "Tools and documentation for translation (used to build other packages)")

Reply via email to