guix-patches
[Top][All Lists]
Advanced

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

[bug#48319] [PATCH] Check if #:tests? is unconditionally #t; not accepta


From: Mathieu Othacehe
Subject: [bug#48319] [PATCH] Check if #:tests? is unconditionally #t; not acceptable when cross-compiling
Date: Fri, 04 Jun 2021 14:50:53 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Hello Maxime,

> +                          ;; TRANSLATORS: #:tests? and #t are Scheme 
> constants
> +                          ;; and must not be translated.
> +                          (G_ "#:tests? does not need to be explicitly set 
> to #t")
> +                          #:field 'arguments))

This patch looks fine, and I remember fixing multiple packages failing
to cross-compile because #:tests was hard-coded to #t.

I'm not sure about the warning message though. What about:

"#:tests? must not be explicitly set to #t"

as "does not need" implies it could be sometimes correct, whereas it is
always a mistake.

WDYT?

Thanks,

Mathieu





reply via email to

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