[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/05: gnu: akonadi-search: Allow skipping tests.
From: |
guix-commits |
Subject: |
01/05: gnu: akonadi-search: Allow skipping tests. |
Date: |
Mon, 13 Sep 2021 08:36:05 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 5bde487831b8227afa185bb13c2444833036d66c
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Sep 13 11:04:50 2021 +0300
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 db73941..5d61014 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 <h.goebel@crazy-compilers.com>
;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
+;;; Copyright © 2021 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; 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