gnu: korganizer: Allow skipping tests.

* gnu/packages/kde-pim.scm (korganizer)[arguments]: Have custom 'check
phase honor #:tests?.
This commit is contained in:
Efraim Flashner 2021-09-13 11:07:30 +03:00
parent 7890ba02df
commit 43f9757f80
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1602,8 +1602,9 @@ (define-public korganizer
""))
#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