From 5bde487831b8227afa185bb13c2444833036d66c Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 13 Sep 2021 11:04:50 +0300 Subject: [PATCH] gnu: akonadi-search: Allow skipping tests. * gnu/packages/kde-pim.scm (akonadi-search)[arguments]: Have custom 'check phase honor #:tests?. --- gnu/packages/kde-pim.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnu/packages/kde-pim.scm b/gnu/packages/kde-pim.scm index db73941b42..5d610143a7 100644 --- a/gnu/packages/kde-pim.scm +++ b/gnu/packages/kde-pim.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2017, 2019, 2020 Hartmut Goebel ;;; Copyright © 2020 Marius Bakke +;;; Copyright © 2021 Efraim Flashner ;;; ;;; This file is part of GNU Guix. ;;; @@ -339,8 +340,9 @@ wrapping notes into KMime::Message objects.") "")) #t)) (replace 'check - (lambda _ - (invoke "dbus-launch" "ctest")))))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "dbus-launch" "ctest"))))))) (home-page "https://api.kde.org/kdepim/akonadi/html/index.html") (synopsis "Akonadi search library") (description "This package provides a library used to search in the