From 12e6a5923812abf180f03bea9e07dd99244a3fcd Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Wed, 31 May 2023 07:14:51 +0200 Subject: gnu: libunistring: Fix make check for the Hurd. * gnu/packages/libunistring.scm (libunistring)[arguments]: Set XFAIL_TESTS with test-perror2, and test-strerror_r when building to the Hurd. --- gnu/packages/libunistring.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gnu/packages/libunistring.scm b/gnu/packages/libunistring.scm index eccd053a35..e68b7d2378 100644 --- a/gnu/packages/libunistring.scm +++ b/gnu/packages/libunistring.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2012, 2013, 2014 Ludovic Courtès ;;; Copyright © 2015 Mark H Weaver ;;; Copyright © 2016, 2018, 2022 Efraim Flashner -;;; Copyright © 2016 Jan Nieuwenhuizen +;;; Copyright © 2016, 2023 Janneke Nieuwenhuizen ;;; Copyright © 2017 Mathieu Othacehe ;;; Copyright © 2017 Eric Bavier ;;; Copyright © 2018 Tobias Geerinckx-Rice @@ -28,6 +28,7 @@ #:use-module (guix packages) #:use-module (guix download) #:use-module (guix gexp) + #:use-module (guix utils) #:use-module (guix build-system gnu) #:use-module (gnu packages) #:use-module (gnu packages base)) @@ -60,7 +61,10 @@ (with-directory-excursion (string-append #$output "/lib") (install-file "libunistring.a" (string-append #$output:static "/lib")) - (delete-file "libunistring.a"))))))) + (delete-file "libunistring.a"))))) + #:make-flags (if (target-hurd?) + #~(list "XFAIL_TESTS=test-perror2 test-strerror_r") + #~'()))) (synopsis "C library for manipulating Unicode strings") (description "GNU libunistring is a library providing functions to manipulate -- cgit 1.4.1