gnu: gwenview: Break disabled tests into a list.

* gnu/packages/kde.scm (gwenview)
[arguments]: Refactor check phase to be more readable.

Change-Id: I29a06c828adacd25e6d6d734d4b2c0a17d437230
This commit is contained in:
Maxim Cournoyer 2024-03-30 00:00:39 -04:00
parent 2d613a1e8d
commit 1757b5bc3c
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -249,9 +249,18 @@ (define-public gwenview
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "ctest" "-E"
"(placetreemodeltest|historymodeltest|contextmanagertest|urlutilstest)")))))))
(string-append
"("
(string-join '("placetreemodeltest"
"historymodeltest"
"contextmanagertest"
"urlutilstest")
"|")
")"))))))))
(native-inputs
(list extra-cmake-modules kdoctools pkg-config))
(list extra-cmake-modules
kdoctools
pkg-config))
(inputs
(list baloo
cfitsio