diff options
author | 宋文武 <iyzsong@member.fsf.org> | 2023-08-09 18:14:06 +0800 |
---|---|---|
committer | 宋文武 <iyzsong@member.fsf.org> | 2023-08-09 18:14:06 +0800 |
commit | 00efabe6fe5ebf3ca87371151dd53d2932db2333 (patch) | |
tree | 76fb57f0df1de61fe3c9ce99eaa8bf242dfabb43 /gnu | |
parent | f36c52e0768a1c50f9331a60a0dc2649855a8880 (diff) |
gnu: korganizer: Fix tests.
* gnu/packages/kde-pim.scm (korganizer)[native-inputs]: Add tzdata-for-tests.
[arguments]: Remove disable-failing-test phase. Set TZDIR for tests.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/kde-pim.scm | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/gnu/packages/kde-pim.scm b/gnu/packages/kde-pim.scm index 0651102eb0..d7ab88e256 100644 --- a/gnu/packages/kde-pim.scm +++ b/gnu/packages/kde-pim.scm @@ -1715,7 +1715,7 @@ application \"Parts\" to be embedded as a Kontact component (or plugin).") (base32 "1vp1jsmna059vvfj7xaj9fhhhq0lz9k0pphczkfbwm3gy6nzcavz")))) (build-system qt-build-system) (native-inputs - (list extra-cmake-modules dbus qttools-5 kdoctools)) + (list extra-cmake-modules dbus qttools-5 kdoctools tzdata-for-tests)) (inputs (list akonadi akonadi-calendar @@ -1767,19 +1767,13 @@ application \"Parts\" to be embedded as a Kontact component (or plugin).") phonon qtbase-5)) (arguments - `(#:phases + '(#:phases (modify-phases %standard-phases - (add-after 'unpack 'disable-failing-test - (lambda _ - ;; FIXME: This test started failing after the 20.04 update - ;; seemingly due to DBus communication issues. - ;; See also 'akonadi-search' for a similar test failure. - (substitute* "src/autotests/CMakeLists.txt" - ((".*test_advanced\\(koeventpopupmenutest\\.cpp.*") - "")))) (replace 'check - (lambda* (#:key tests? #:allow-other-keys) + (lambda* (#:key inputs tests? #:allow-other-keys) (when tests? + (setenv "TZDIR" (search-input-directory + inputs "share/zoneinfo")) (invoke "dbus-launch" "ctest"))))))) (home-page "https://apps.kde.org/korganizer/") (synopsis "Organizational assistant, providing calendars and other similar |