gnu: kleopatra: Allow skipping tests.

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

View file

@ -1017,8 +1017,9 @@ (define-public kleopatra
`(#: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")