guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: gettext-minimal: Mark "test-raise" test XFAI


From: guix-commits
Subject: branch master updated: gnu: gettext-minimal: Mark "test-raise" test XFAIL on the Hurd.
Date: Mon, 05 Oct 2020 06:02:50 -0400

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 <janneke@gnu.org>
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 <bavier@member.fsf.org>
 ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2019 Miguel <rosen644835@gmail.com>
+;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
 ;;;
 ;;; 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

[Prev in Thread] Current Thread [Next in Thread]