gnu: tracker: Honor #:test-options keyword.
* gnu/packages/gnome.scm (tracker)[arguments]: Adjust custom 'check phase to honor the #:test-options keyword.master
parent
ca8fcca456
commit
5ee51394d7
|
@ -11,7 +11,7 @@
|
|||
;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
|
||||
;;; Copyright © 2015, 2016, 2017, 2018, 2021 Mark H Weaver <mhw@netris.org>
|
||||
;;; Copyright © 2015 David Thompson <davet@gnu.org>
|
||||
;;; Copyright © 2015-2022 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2015-2023 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2016, 2017, 2018 Rene Saavedra <pacoon@protonmail.com>
|
||||
;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
|
||||
;;; Copyright © 2016, 2017, 2019 Kei Kebreau <kkebreau@posteo.net>
|
||||
|
@ -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")
|
||||
|
|
Reference in New Issue