From 5ee51394d727854b0b2cc6199929fa4292deb446 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 8 Jan 2023 11:35:43 +0200 Subject: [PATCH] gnu: tracker: Honor #:test-options keyword. * gnu/packages/gnome.scm (tracker)[arguments]: Adjust custom 'check phase to honor the #:test-options keyword. --- gnu/packages/gnome.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index e41c3754e4..dfc092ce33 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -11,7 +11,7 @@ ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus ;;; Copyright © 2015, 2016, 2017, 2018, 2021 Mark H Weaver ;;; Copyright © 2015 David Thompson -;;; Copyright © 2015-2022 Efraim Flashner +;;; Copyright © 2015-2023 Efraim Flashner ;;; Copyright © 2016, 2017, 2018 Rene Saavedra ;;; Copyright © 2016 Jochem Raat ;;; Copyright © 2016, 2017, 2019 Kei Kebreau @@ -9637,12 +9637,12 @@ easy, safe, and automatic.") (("/etc/asciidoc[^']+") file))))) (replace 'check - (lambda* (#:key tests? #:allow-other-keys) + (lambda* (#:key tests? test-options #:allow-other-keys) (when tests? ;; Some tests expect to write to $HOME. (setenv "HOME" "/tmp") - (invoke "dbus-run-session" "--" "meson" "test" - "--print-errorlogs"))))))) + (apply invoke "dbus-run-session" "--" "meson" "test" + "--print-errorlogs" test-options))))))) (native-inputs (list gettext-minimal `(,glib "bin")