guix-commits
[Top][All Lists]
Advanced

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

04/05: gnu: korganizer: Allow skipping tests.


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

efraim pushed a commit to branch master
in repository guix.

commit 43f9757f809d0fb3cd7c3e8b24bfb927179055e8
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Sep 13 11:07:30 2021 +0300

    gnu: korganizer: Allow skipping tests.
    
    * gnu/packages/kde-pim.scm (korganizer)[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 87af6b3..a4011e8 100644
--- a/gnu/packages/kde-pim.scm
+++ b/gnu/packages/kde-pim.scm
@@ -1602,8 +1602,9 @@ application \"Parts\" to be embedded as a Kontact 
component (or plugin).")
                 ""))
              #t))
          (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/korganizer.html";)
     (synopsis "Organizational assistant, providing calendars and other similar



reply via email to

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