[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/143: gnu: krunner: Enable all tests.
From: |
guix-commits |
Subject: |
05/143: gnu: krunner: Enable all tests. |
Date: |
Mon, 21 Nov 2022 16:10:37 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit fa2969388c7ebcb82ee7bf5034195041dbebcc6c
Author: Petr Hodina <phodina@protonmail.com>
AuthorDate: Tue Sep 27 21:30:01 2022 +0200
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>
---
gnu/packages/kde-frameworks.scm | 41 ++++++++++++++++++++---------------------
1 file changed, 20 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 4823c732bb..4956dad6a8 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -2940,7 +2940,8 @@ to easily extend the contacts collection.")
;; For tests.
dbus))
(inputs
- (list kauth
+ (list kactivities
+ kauth
kbookmarks
kcodecs
kcompletion
@@ -2961,26 +2962,24 @@ to easily extend the contacts collection.")
solid
threadweaver))
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'fix-paths-for-test
- ;; 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.
- (lambda* (#:key inputs #:allow-other-keys)
- (substitute* "autotests/runnercontexttest.cpp"
- (("/home\"") "/tmp\"") ;; single path-part
- (("//usr/bin\"") (string-append (getcwd) "\"")) ;; multiple
path-parts
- (("/bin/ls")
- (search-input-file inputs "/bin/ls")))))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (setenv "HOME" (getcwd))
- (setenv "QT_QPA_PLATFORM" "offscreen")
- (invoke "dbus-launch" "ctest"
- "-E" ;; Some tests fail
- "(runnercontexttest|dbusrunnertest|\
-runnermanagersinglerunnermodetest|runnermanagertest)")))))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-paths-for-test
+ ;; 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.
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "autotests/runnercontexttest.cpp"
+ (("/home\"") "/tmp\"") ;; single path-part
+ (("//usr/bin\"") (string-append (getcwd) "\"")) ;; multiple
path-parts
+ (("/bin/ls")
+ (search-input-file inputs "/bin/ls")))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (setenv "HOME" (getcwd))
+ (setenv "QT_QPA_PLATFORM" "offscreen")
+ (invoke "dbus-launch" "ctest")))))))
(home-page "https://community.kde.org/Frameworks")
(synopsis "Framework for Plasma runners")
(description "The Plasma workspace provides an application called KRunner
- 07/143: gnu: kwindowsystem: Enable all test., (continued)
- 07/143: gnu: kwindowsystem: Enable all test., guix-commits, 2022/11/21
- 13/143: gnu: phonon-backend-gstreamer: Remove duplicate qtbase-5 in inputs., guix-commits, 2022/11/21
- 19/143: gnu: libkscreen: Update to 5.25.4., guix-commits, 2022/11/21
- 23/143: gnu: KDE Framework: Update 5.98.0., guix-commits, 2022/11/21
- 28/143: gnu: qtgamepad: Remove input labels., guix-commits, 2022/11/21
- 09/143: gnu: kio: Add more inputs., guix-commits, 2022/11/21
- 21/143: gnu: libkscreen: Add pkg-config to native-inputs., guix-commits, 2022/11/21
- 27/143: gnu: QT: Remove trailing booleans., guix-commits, 2022/11/21
- 30/143: gnu: KDE: Update to 22.08.1., guix-commits, 2022/11/21
- 04/143: gnu: kcontacts: Run all but 3 tests., guix-commits, 2022/11/21
- 05/143: gnu: krunner: Enable all tests.,
guix-commits <=
- 10/143: gnu: ktexteditor: Add more inputs., guix-commits, 2022/11/21
- 25/143: gnu: grantleetheme: Update to 22.08.1., guix-commits, 2022/11/21
- 32/143: gnu: Add libaccounts-glib., guix-commits, 2022/11/21
- 20/143: gnu: libksysguard: Enable all tests., guix-commits, 2022/11/21
- 24/143: gnu: kinit: Use gexp., guix-commits, 2022/11/21
- 34/143: gnu: Add signon-plugin-oauth2., guix-commits, 2022/11/21
- 47/143: gnu: kdbusaddons: Use gexp., guix-commits, 2022/11/21
- 48/143: gnu: Add kwayland-integration., guix-commits, 2022/11/21
- 54/143: gnu: Add kscreen., guix-commits, 2022/11/21
- 55/143: gnu: Add kwrited., guix-commits, 2022/11/21