diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2021-01-19 22:21:52 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-01-19 22:21:52 +0200 |
commit | ba3e25bbf217637d2054bb0c8b906f3eed230613 (patch) | |
tree | ba91555a307e977b6c5eef2b77ed74252cd5d58a | |
parent | aa8df16bc5ca99615188b4f1e94a0e13c1e51d3a (diff) |
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.
-rw-r--r-- | gnu/packages/kde-frameworks.scm | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 9ecbf75d34..8c2028b978 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; 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 David Craven <david@craven.ch> ;;; 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-protocols" ,wayland-protocols))) (arguments - `(#:tests? #f ; FIXME tests require weston to run - ; weston requires wayland flags in mesa - #:phases + `(#:phases (modify-phases %standard-phases (add-before 'check 'check-setup (lambda _ (setenv "XDG_RUNTIME_DIR" "/tmp") + (setenv "QT_QPA_PLATFORM" "offscreen") #t))))) (home-page "https://community.kde.org/Frameworks") (synopsis "Qt-style API to interact with the wayland client and server") |