[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/05: gnu: kleopatra: Allow skipping tests.
From: |
guix-commits |
Subject: |
03/05: gnu: kleopatra: Allow skipping tests. |
Date: |
Mon, 13 Sep 2021 08:36:05 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 7890ba02df6500b888792f2ab738b97fe3027349
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Sep 13 11:06:33 2021 +0300
gnu: kleopatra: Allow skipping tests.
* gnu/packages/kde-pim.scm (kleopatra)[arguments]: Have custom 'check
phase honor #:tests?.
---
gnu/packages/kde-pim.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/kde-pim.scm b/gnu/packages/kde-pim.scm
index b5966f0..87af6b3 100644
--- a/gnu/packages/kde-pim.scm
+++ b/gnu/packages/kde-pim.scm
@@ -1017,8 +1017,9 @@ protocol for querying and modifying directory services
running over TCP/IP. ")
`(#:phases
(modify-phases %standard-phases
(replace 'check
- (lambda _
- (invoke "dbus-launch" "ctest" ".")
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "dbus-launch" "ctest" "."))
#t)))))
(home-page "https://kde.org/applications/utilities/org.kde.kleopatra")
(synopsis "Certificate Manager and Unified Crypto GUI")