From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: [PATCH] gnu: pulseaudio: Increase timeouts for tests Date: Tue, 01 Apr 2014 13:59:32 -0400 Message-ID: <8738hxkk1n.fsf_-_@yeeloong.lan> References: <87r45mhj1k.fsf@yeeloong.lan> <87eh1mqy01.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53543) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WV2zK-0002mw-L7 for guix-devel@gnu.org; Tue, 01 Apr 2014 14:00:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WV2zE-0001W2-Uy for guix-devel@gnu.org; Tue, 01 Apr 2014 14:00:42 -0400 In-Reply-To: <87eh1mqy01.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 28 Mar 2014 14:00:14 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain Hi Ludovic, As per your suggestion, this new version of the patch simply sets the CK_DEFAULT_TIMEOUT variable to 120. I've tested it on my YeeLoong, and it works. Mark --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-pulseaudio-Increase-timeouts-for-tests.patch Content-Transfer-Encoding: quoted-printable Content-Description: [PATCH] gnu: pulseaudio: Increase timeouts for tests >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=3DUTF-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=C3= =A8s. --- 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 =C2=A9 2013, 2014 Ludovic Court=C3=A8s +;;; Copyright =C2=A9 2014 Mark H Weaver ;;; ;;; This file is part of GNU Guix. ;;; @@ -152,7 +153,10 @@ parse JSON formatted strings back into the C represent= ation 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 secon= ds. + (setenv "CK_DEFAULT_TIMEOUT" "120")) %standard-phases))) (inputs ;; TODO: Add optional inputs (GTK+?). --=20 1.8.4 --=-=-=--