guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch core-updates-frozen updated: gnu: python-pygobject: Extend test t


From: guix-commits
Subject: branch core-updates-frozen updated: gnu: python-pygobject: Extend test timeout.
Date: Sun, 29 Aug 2021 15:55:26 -0400

This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch core-updates-frozen
in repository guix.

The following commit(s) were added to refs/heads/core-updates-frozen by this 
push:
     new 3fced77  gnu: python-pygobject: Extend test timeout.
3fced77 is described below

commit 3fced772e34cb332f6299411cd6501eadef760cb
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 f032849..d1d0f5b 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]