[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: python-pygobject: Extend test timeout.
From: |
guix-commits |
Subject: |
02/02: gnu: python-pygobject: Extend test timeout. |
Date: |
Sun, 29 Aug 2021 15:55:28 -0400 (EDT) |
efraim pushed a commit to branch wip-riscv
in repository guix.
commit e60fcb09d1de58f37138a7f1134c47dfb2cae83d
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Aug 29 13:54:33 2021 +0300
gnu: python-pygobject: Extend test timeout.
* gnu/packages/glib.scm (python-pygobject)[arguments]: Replace check
phase and extend the test timeout.
---
gnu/packages/glib.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index a9c7f4a..ac700b7 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -801,6 +801,14 @@ useful for C++.")
'("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)