mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
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.
This commit is contained in:
parent
f36c52e076
commit
00efabe6fe
1 changed files with 5 additions and 11 deletions
|
@ -1715,7 +1715,7 @@ (define-public korganizer
|
||||||
(base32 "1vp1jsmna059vvfj7xaj9fhhhq0lz9k0pphczkfbwm3gy6nzcavz"))))
|
(base32 "1vp1jsmna059vvfj7xaj9fhhhq0lz9k0pphczkfbwm3gy6nzcavz"))))
|
||||||
(build-system qt-build-system)
|
(build-system qt-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list extra-cmake-modules dbus qttools-5 kdoctools))
|
(list extra-cmake-modules dbus qttools-5 kdoctools tzdata-for-tests))
|
||||||
(inputs
|
(inputs
|
||||||
(list akonadi
|
(list akonadi
|
||||||
akonadi-calendar
|
akonadi-calendar
|
||||||
|
@ -1767,19 +1767,13 @@ (define-public korganizer
|
||||||
phonon
|
phonon
|
||||||
qtbase-5))
|
qtbase-5))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
'(#:phases
|
||||||
(modify-phases %standard-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
|
(replace 'check
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
(lambda* (#:key inputs tests? #:allow-other-keys)
|
||||||
(when tests?
|
(when tests?
|
||||||
|
(setenv "TZDIR" (search-input-directory
|
||||||
|
inputs "share/zoneinfo"))
|
||||||
(invoke "dbus-launch" "ctest")))))))
|
(invoke "dbus-launch" "ctest")))))))
|
||||||
(home-page "https://apps.kde.org/korganizer/")
|
(home-page "https://apps.kde.org/korganizer/")
|
||||||
(synopsis "Organizational assistant, providing calendars and other similar
|
(synopsis "Organizational assistant, providing calendars and other similar
|
||||||
|
|
Loading…
Reference in a new issue