gnu: python-pygobject: Extend test timeout.

* gnu/packages/glib.scm (python-pygobject)[arguments]: Replace check
phase and extend the test timeout.
This commit is contained in:
Efraim Flashner 2021-08-29 13:54:33 +03:00
parent c3c7ca7603
commit 3fced772e3
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -801,6 +801,14 @@ (define-public python-pygobject
'("test_atoms.py" "test_overrides_gtk.py"))
#t)))))
(build-system meson-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
;; The default 90 seconds can be too low on slower machines.
(invoke "meson" "test" "--timeout-multiplier" "5")))))))
(native-inputs
`(("glib-bin" ,glib "bin")
("pkg-config" ,pkg-config)