guix-commits
[Top][All Lists]
Advanced

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

19/38: gnu: gdk-pixbuf: Respect #:tests?.


From: guix-commits
Subject: 19/38: gnu: gdk-pixbuf: Respect #:tests?.
Date: Sat, 2 Oct 2021 12:52:42 -0400 (EDT)

mothacehe pushed a commit to branch core-updates
in repository guix.

commit 1f7cf5834cdf8349a26c99c280e9514487526350
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Fri Oct 1 16:21:21 2021 +0200

    gnu: gdk-pixbuf: Respect #:tests?.
    
    * gnu/packages/gtk.scm (gdk-pixbuf)[arguments]<#:phases>{check}: Don't
      run the tests if the value for #:tests? is false.
    
    Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
 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 fd7feab..bbef514 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -646,8 +646,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
      `( ;; Required by gdk-pixbuf-2.0.pc



reply via email to

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