guix-commits
[Top][All Lists]
Advanced

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

251/373: gnu: gdk-pixbuf: Honor #:tests flag on all architectures.


From: guix-commits
Subject: 251/373: gnu: gdk-pixbuf: Honor #:tests flag on all architectures.
Date: Sun, 16 Apr 2023 07:11:17 -0400 (EDT)

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

commit 6ccbf878282557064b2a90bae6e2509c9621f74c
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 a88a76bf56..da38ca0e32 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -807,8 +807,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]