summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim@guixotic.coop>2025-07-28 17:15:21 +0900
committerMaxim Cournoyer <maxim@guixotic.coop>2025-07-28 17:15:21 +0900
commit618a14f8268b32f515394069117590578ebb008e (patch)
treea1bea51a1bdede64e87fc17ca725365232c6b463
parent55d4423b5a4f37a0ecff1ba8911105c45cae16cb (diff)
gnu: tracker: Fix test suite.
The same strategy as for the tinysparql and upower packages is used. * gnu/packages/gnome.scm (tracker) [phases] {set-gi-typelib-path}: New phase. {check}: Reorder after phase new phase. Change-Id: Ib1fe6c93f19a4d29f2b9172cfc837111eb2a01f5
-rw-r--r--gnu/packages/gnome.scm12
1 files changed, 7 insertions, 5 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 3a3abc7d65..e6e1718731 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -9872,9 +9872,6 @@ easy, safe, and automatic.")
(arguments
(list
#:glib-or-gtk? #t
- #:test-options `(list ,@(if (target-riscv64?)
- `("--timeout-multiplier" "10")
- '("--timeout-multiplier" "2")))
#:configure-flags
;; Otherwise, the RUNPATH will lack the final path component.
#~(list (string-append "-Dc_link_args=-Wl,-rpath="
@@ -9922,13 +9919,18 @@ easy, safe, and automatic.")
(substitute* "docs/manpages/meson.build"
(("/etc/asciidoc[^']+")
file)))))
- (replace 'check
+ (delete 'check) ;moved after install
+ (add-after 'install 'set-gi-typelib-path
+ (lambda* (#:key outputs #:allow-other-keys)
+ (setenv "GI_TYPELIB_PATH"
+ (search-input-directory outputs "lib/girepository-1.0"))))
+ (add-after 'set-gi-typelib-path 'check
(lambda* (#:key tests? test-options #:allow-other-keys)
(when tests?
;; Some tests expect to write to $HOME.
(setenv "HOME" "/tmp")
(apply invoke "dbus-run-session" "--" "meson" "test"
- "--print-errorlogs" test-options)))))))
+ "--print-errorlogs" "-t0" test-options)))))))
(native-inputs
(list gettext-minimal
`(,glib "bin")