guix-commits
[Top][All Lists]
Advanced

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

398/470: gnu: gdk-pixbuf: Honor #:tests flag on all architectures.


From: guix-commits
Subject: 398/470: gnu: gdk-pixbuf: Honor #:tests flag on all architectures.
Date: Thu, 16 Mar 2023 03:02:24 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 67eee38da0cc67d29e721c273388fdb7967c6487
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Feb 26 01:07:49 2023 +0200

    gnu: gdk-pixbuf: Honor #:tests flag on all architectures.
    
    * gnu/packages/gtk.scm (gdk-pixbuf)[arguments]: When building on armhf
    or aarch64 honor the #:tests? flag in the custom 'check phase.
---
 gnu/packages/gtk.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 1e882fb394..ddf1349218 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -806,8 +806,9 @@ highlighting and other features typical of a source code 
editor.")
          ,@(if (any (cute string=? <> (%current-system))
                     '("armhf-linux" "aarch64-linux"))
                '((replace 'check
-                   (lambda _
-                     (invoke "meson" "test" "--timeout-multiplier" "5"))))
+                   (lambda* (#:key tests? #:allow-other-keys)
+                     (when tests?
+                       (invoke "meson" "test" "--timeout-multiplier" "5")))))
                '()))))
     (propagated-inputs
      (list ;; Required by gdk-pixbuf-2.0.pc



reply via email to

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