gnu: zathura: Increase test timeouts.

* gnu/packages/pdf.scm (zathura): Export CK_DEFAULT_TIMEOUT before running
tests.
master
Marius Bakke 2018-02-17 00:08:04 +01:00
parent 3e6b398a48
commit f0eba502a1
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 5 additions and 0 deletions

View File

@ -521,6 +521,11 @@ by using the poppler rendering engine.")
(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 "