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
1 changed files with 5 additions and 0 deletions

View File

@ -1267,6 +1267,11 @@ write GNOME applications.")
(let ((xorg-server (assoc-ref inputs "xorg-server")) (let ((xorg-server (assoc-ref inputs "xorg-server"))
(display ":1")) (display ":1"))
(setenv "DISPLAY" display) (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'. ;; Don't fail due to missing '/etc/machine-id'.
(setenv "DBUS_FATAL_WARNINGS" "0") (setenv "DBUS_FATAL_WARNINGS" "0")
(zero? (system (string-append xorg-server "/bin/Xvfb " (zero? (system (string-append xorg-server "/bin/Xvfb "