guix-commits
[Top][All Lists]
Advanced

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

02/05: gnu: kmail: Allow skipping tests.


From: guix-commits
Subject: 02/05: gnu: kmail: Allow skipping tests.
Date: Mon, 13 Sep 2021 08:36:05 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 8e7c84feccf9653307de2c3fcfc2c856fe21a97a
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Sep 13 11:05:35 2021 +0300

    gnu: kmail: Allow skipping tests.
    
    * gnu/packages/kde-pim.scm (kmail)[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 5d61014..b5966f0 100644
--- a/gnu/packages/kde-pim.scm
+++ b/gnu/packages/kde-pim.scm
@@ -1107,8 +1107,9 @@ and retrieving certificates from LDAP servers.")
      `(#: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://kontact.kde.org/components/kmail.html";)
     (synopsis "Full featured graphical email client")



reply via email to

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