gnu: kwayland: Enable test suite.
* gnu/packages/kde-frameworks.scm (kwayland)[arguments]: Don't skip tests. Adjust 'check-setup phase to render QT windows offscreen.master
parent
aa8df16bc5
commit
ba3e25bbf2
|
@ -1,6 +1,6 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
|
;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
|
||||||
;;; Copyright © 2016, 2019 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2016, 2019, 2021 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;; Copyright © 2016-2019 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
;;; Copyright © 2016-2019 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
||||||
;;; Copyright © 2016 David Craven <david@craven.ch>
|
;;; Copyright © 2016 David Craven <david@craven.ch>
|
||||||
;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
|
;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
|
||||||
|
@ -1047,13 +1047,12 @@ integration with a custom editor as well as a ready-to-use
|
||||||
("wayland" ,wayland)
|
("wayland" ,wayland)
|
||||||
("wayland-protocols" ,wayland-protocols)))
|
("wayland-protocols" ,wayland-protocols)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; FIXME tests require weston to run
|
`(#:phases
|
||||||
; weston requires wayland flags in mesa
|
|
||||||
#:phases
|
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-before 'check 'check-setup
|
(add-before 'check 'check-setup
|
||||||
(lambda _
|
(lambda _
|
||||||
(setenv "XDG_RUNTIME_DIR" "/tmp")
|
(setenv "XDG_RUNTIME_DIR" "/tmp")
|
||||||
|
(setenv "QT_QPA_PLATFORM" "offscreen")
|
||||||
#t)))))
|
#t)))))
|
||||||
(home-page "https://community.kde.org/Frameworks")
|
(home-page "https://community.kde.org/Frameworks")
|
||||||
(synopsis "Qt-style API to interact with the wayland client and server")
|
(synopsis "Qt-style API to interact with the wayland client and server")
|
||||||
|
|
Reference in New Issue