Subject: Re: [bug#64711] [PATCH 37/43] gnu: glib: Disable tests for the Hurd.

From: Liliana Marie Prikler <[email-masked]>
Date: Tue, 18 Jul 2023 17:56:30 +0200

Am Dienstag, dem 18.07.2023 um 16:40 +0200 schrieb Janneke
Nieuwenhuizen:
> * gnu/packages/glib.scm (glib)[arguments]: When building for the
> Hurd,
> set #:tests? to #false.
> ---
>  gnu/packages/glib.scm | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
> index e988e8dc87..bcbc1f22b1 100644
> --- a/gnu/packages/glib.scm
> +++ b/gnu/packages/glib.scm
> @@ -14,7 +14,7 @@
>  ;;; Copyright © 2019, 2020, 2021 Marius Bakke <[email-masked]>
>  ;;; Copyright © 2020 Nicolò Balzarotti <[email-masked]>
>  ;;; Copyright © 2020 Florian Pelz <[email-masked]>
> -;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <[email-masked]>
> +;;; Copyright © 2020, 2023 Janneke Nieuwenhuizen <[email-masked]>
>  ;;; Copyright © 2020 Arthur Margerit <[email-masked]>
>  ;;; Copyright © 2021 Maxime Devos <[email-masked]>
>  ;;; Copyright © 2022 Petr Hodina <[email-masked]>
> @@ -241,6 +241,7 @@ (define glib
>                 "debug"))
>      (arguments
>       (list
> +      #:tests? (not (target-hurd?))
>        #:disallowed-references
>        (cons tzdata-for-tests
>              ;; Verify glib-mkenums, gtester, ... use the cross-
> compiled
Instead of disabling tests altogether, can we just disable those that
fail on the Hurd?