guix-commits
[Top][All Lists]
Advanced

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

branch ungrafting updated: gnu: glib: Increase test timeout on armhf-lin


From: guix-commits
Subject: branch ungrafting updated: gnu: glib: Increase test timeout on armhf-linux.
Date: Sun, 20 Dec 2020 16:24:03 -0500

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

mbakke pushed a commit to branch ungrafting
in repository guix.

The following commit(s) were added to refs/heads/ungrafting by this push:
     new 034cfbd  gnu: glib: Increase test timeout on armhf-linux.
034cfbd is described below

commit 034cfbd2449387c15823cd9ec3e91661f9e5bf49
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sun Dec 20 19:07:55 2020 +0100

    gnu: glib: Increase test timeout on armhf-linux.
    
    * gnu/packages/glib.scm (glib)[arguments]: Add phase to adjust test timeouts
    to account for slower systems.
---
 gnu/packages/glib.scm | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index a37369c..3fe4405 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -227,6 +227,17 @@ shared NFS home directories.")
                (("gio-launch-desktop")
                 (string-append out "/libexec/gio-launch-desktop")))
               #t)))
+        ;; TODO: Remove the conditional in the next core-updates cycle.
+        ;; Needed to build glib on slower ARM nodes.
+        ,@(if (string-prefix? "arm" (%current-system))
+              `((add-after 'unpack 'increase-test-timeout
+                  (lambda _
+                    (substitute* "meson.build"
+                      (("test_timeout = 60")
+                       "test_timeout = 90")
+                      (("test_timeout_slow = 120")
+                       "test_timeout_slow = 180")))))
+              '())
         (add-before 'build 'pre-build
           (lambda* (#:key inputs outputs #:allow-other-keys)
             ;; For tests/gdatetime.c.



reply via email to

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