summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2014-04-01 13:53:37 -0400
committerMark H Weaver <mhw@netris.org>2014-04-02 01:54:35 -0400
commitb0364911198843d51125c615517d2ab448bf79b6 (patch)
treeb1b59b51554ac07a8cd540b41616eb6ea7c36f3d /gnu/packages
parent02c108bd1df81b45b5b825e5196bc2d04563f306 (diff)
downloadguix-b0364911198843d51125c615517d2ab448bf79b6.tar.gz
gnu: pulseaudio: Increase timeouts for tests.
* gnu/packages/pulseaudio.scm: Set the 'CK_DEFAULT_TIMEOUT' environment
  variable to 120 in the 'pre-check' phase.  Suggested by Ludovic Courtès.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/pulseaudio.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/pulseaudio.scm b/gnu/packages/pulseaudio.scm
index d82f4bedb6..386317955d 100644
--- a/gnu/packages/pulseaudio.scm
+++ b/gnu/packages/pulseaudio.scm
@@ -1,5 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -152,7 +153,10 @@ parse JSON formatted strings back into the C representation of JSON objects.")
                  (lambda _
                    ;; 'tests/lock-autospawn-test.c' wants to create a file
                    ;; under ~/.config/pulse.
-                   (setenv "HOME" (getcwd)))
+                   (setenv "HOME" (getcwd))
+                   ;; 'thread-test' needs more time on hydra and on slower
+                   ;; machines, so we set the default timeout to 120 seconds.
+                   (setenv "CK_DEFAULT_TIMEOUT" "120"))
                  %standard-phases)))
     (inputs
      ;; TODO: Add optional inputs (GTK+?).