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.
This commit is contained in:
Marius Bakke 2018-02-17 00:04:16 +01:00
parent bb3359ab8e
commit 3e6b398a48
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -1267,6 +1267,11 @@ (define-public girara
(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 "