From bff96667e10c01f83a9b6e40abb283e5814cca49 Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Thu, 15 Sep 2022 00:29:29 +0200 Subject: [PATCH 03/81] gnu: kwayland: Run all tests. * gnu/packages/kde-frameworks.scm (kwayland) [arguments]: Run all tests. Add check setup into phase before check. diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 8bbdacd534..ed77e56bce 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -1092,12 +1092,10 @@ (define-public kwayland ;; PlasmaWindowModelTest::testChangeWindowAfterModelDestroy(icon) (substitute* "autotests/client/test_plasma_window_model.cpp" ((".*changedSpy\\.wait.*") "")))) - (replace 'check + (add-before 'check 'setup-check (lambda* (#:key tests? #:allow-other-keys) (setenv "XDG_RUNTIME_DIR" (getcwd)) - (setenv "QT_QPA_PLATFORM" "offscreen") - (when tests? ;; One test fails. - (invoke "ctest" "-E" "kwayland-testWaylandRegistry"))))))) + (setenv "QT_QPA_PLATFORM" "offscreen")))))) (home-page "https://community.kde.org/Frameworks") (synopsis "Qt-style API to interact with the wayland client and server") (description "As the names suggest they implement a Client respectively a -- 2.37.2