From 727c3ed2fba074f3fad38d352d0484d69cc9993b Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Tue, 1 Apr 2014 13:53:37 -0400 Subject: [PATCH] gnu: pulseaudio: Increase timeouts for tests. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/pulseaudio.scm: Set the 'CK_DEFAULT_TIMEOUT' environment variable to 120 in the 'pre-check' phase. Suggested by Ludovic Courtès. --- gnu/packages/pulseaudio.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/packages/pulseaudio.scm b/gnu/packages/pulseaudio.scm index db7e752..ca8c79b 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 +;;; Copyright © 2014 Mark H Weaver ;;; ;;; 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+?). -- 1.8.4