gnu: kmail: Allow skipping tests.

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

View file

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