summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2018-02-17 00:04:16 +0100
committerMarius Bakke <mbakke@fastmail.com>2018-02-17 16:15:43 +0100
commit3e6b398a48aacf15f605cff4d3f492505dc134a5 (patch)
treefb7407a6f2c11bd66097442c99c5aa2d163a108c
parentbb3359ab8e3c20eb91d61509b5ab364d03c9ec3b (diff)
downloadguix-3e6b398a48aacf15f605cff4d3f492505dc134a5.tar.gz
gnu: girara: Increase test timeouts.
Fixes build failures on Hydra.  Reported by Mark H Weaver in
<https://lists.gnu.org/archive/html/guix-devel/2017-12/msg00391.html>.

* gnu/packages/gtk.scm (girara)[arguments]: Set CK_DEFAULT_TIMEOUT before
running tests.
-rw-r--r--gnu/packages/gtk.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 86dff08e40..c05d0734ef 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1267,6 +1267,11 @@ write GNOME applications.")
                       (let ((xorg-server (assoc-ref inputs "xorg-server"))
                             (display ":1"))
                         (setenv "DISPLAY" display)
+
+                        ;; On busy machines, tests may take longer than
+                        ;; the default of four seconds.
+                        (setenv "CK_DEFAULT_TIMEOUT" "20")
+
                         ;; Don't fail due to missing '/etc/machine-id'.
                         (setenv "DBUS_FATAL_WARNINGS" "0")
                         (zero? (system (string-append xorg-server "/bin/Xvfb "