gnu: krunner: Enable all tests.
* gnu/packages/kde-frameworks.scm (krunner): Use gexp. [inputs]: Add kactivities. [arguments]: Enable all tests. Signed-off-by: Marius Bakke <marius@gnu.org>
This commit is contained in:
parent
3340dcca5a
commit
fa2969388c
1 changed files with 20 additions and 21 deletions
|
@ -2940,7 +2940,8 @@ to easily extend the contacts collection.")
|
||||||
;; For tests.
|
;; For tests.
|
||||||
dbus))
|
dbus))
|
||||||
(inputs
|
(inputs
|
||||||
(list kauth
|
(list kactivities
|
||||||
|
kauth
|
||||||
kbookmarks
|
kbookmarks
|
||||||
kcodecs
|
kcodecs
|
||||||
kcompletion
|
kcompletion
|
||||||
|
@ -2961,8 +2962,9 @@ to easily extend the contacts collection.")
|
||||||
solid
|
solid
|
||||||
threadweaver))
|
threadweaver))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
(list
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'fix-paths-for-test
|
(add-after 'unpack 'fix-paths-for-test
|
||||||
;; This test tries to access paths like /home, /usr/bin and /bin/ls
|
;; This test tries to access paths like /home, /usr/bin and /bin/ls
|
||||||
;; which don't exist in the build-container. Change to existing paths.
|
;; which don't exist in the build-container. Change to existing paths.
|
||||||
|
@ -2977,10 +2979,7 @@ to easily extend the contacts collection.")
|
||||||
(when tests?
|
(when tests?
|
||||||
(setenv "HOME" (getcwd))
|
(setenv "HOME" (getcwd))
|
||||||
(setenv "QT_QPA_PLATFORM" "offscreen")
|
(setenv "QT_QPA_PLATFORM" "offscreen")
|
||||||
(invoke "dbus-launch" "ctest"
|
(invoke "dbus-launch" "ctest")))))))
|
||||||
"-E" ;; Some tests fail
|
|
||||||
"(runnercontexttest|dbusrunnertest|\
|
|
||||||
runnermanagersinglerunnermodetest|runnermanagertest)")))))))
|
|
||||||
(home-page "https://community.kde.org/Frameworks")
|
(home-page "https://community.kde.org/Frameworks")
|
||||||
(synopsis "Framework for Plasma runners")
|
(synopsis "Framework for Plasma runners")
|
||||||
(description "The Plasma workspace provides an application called KRunner
|
(description "The Plasma workspace provides an application called KRunner
|
||||||
|
|
Reference in a new issue