gnu: libkscreen: Enable all tests except for 5 failing.

* gnu/packages/kde-plasma.scm (libkscreen): Enable all tests except for 5
failing.

Signed-off-by: Marius Bakke <marius@gnu.org>
This commit is contained in:
Petr Hodina 2022-09-28 10:32:48 +02:00 committed by Marius Bakke
parent 1e2d29ec71
commit 2ecb9af51c
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -265,6 +265,17 @@ (define-public libkscreen
(sha256 (sha256
(base32 "17ib0sgrhmmf3f8w3fni0825xz5581av5vnz8gca41vyf12css25")))) (base32 "17ib0sgrhmmf3f8w3fni0825xz5581av5vnz8gca41vyf12css25"))))
(build-system qt-build-system) (build-system qt-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(setenv "HOME" (getcwd))
(setenv "QT_QPA_PLATFORM" "offscreen")
(setenv "WAYLAND_DISPLAY" "libkscreen-test-wayland-backend-0")
(invoke "ctest" "-E"
"(kscreen-testscreenconfig|kscreen-testqscreenbackend|kscreen-testkwaylandbackend|kscreen-testkwaylandconfig|kscreen-testkwaylanddpms)")))))))
(native-inputs (native-inputs
(list extra-cmake-modules (list extra-cmake-modules
pkg-config pkg-config
@ -273,8 +284,6 @@ (define-public libkscreen
(inputs (inputs
(list kwayland libxrandr plasma-wayland-protocols (list kwayland libxrandr plasma-wayland-protocols
qtbase-5 qtwayland-5 wayland qtx11extras)) qtbase-5 qtwayland-5 wayland qtx11extras))
(arguments
'(#:tests? #f)) ; FIXME: 55% tests passed, 5 tests failed out of 11
(home-page "https://community.kde.org/Solid/Projects/ScreenManagement") (home-page "https://community.kde.org/Solid/Projects/ScreenManagement")
(synopsis "KDE's screen management software") (synopsis "KDE's screen management software")
(description "KScreen is the new screen management software for KDE Plasma (description "KScreen is the new screen management software for KDE Plasma