From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: [PATCH] gnu: pulseaudio: Increase thread-test timeout, for slower machines Date: Fri, 28 Mar 2014 03:35:51 -0400 Message-ID: <87r45mhj1k.fsf@yeeloong.lan> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTRLP-0003lq-IF for guix-devel@gnu.org; Fri, 28 Mar 2014 03:36:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WTRLJ-0001nQ-NV for guix-devel@gnu.org; Fri, 28 Mar 2014 03:36:51 -0400 Received: from world.peace.net ([96.39.62.75]:37034) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTRLJ-0001nM-Ii for guix-devel@gnu.org; Fri, 28 Mar 2014 03:36:45 -0400 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: guix-devel@gnu.org --=-=-= Content-Type: text/plain This is needed on Loongson 2F machines. Mark --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-pulseaudio-Increase-thread-test-timeout-for-slow.patch Content-Description: [PATCH] gnu: pulseaudio: Increase thread-test timeout, for slower machines >From a3f19db3e9f0dd810f23c06f4d9e63d815e29c21 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Wed, 26 Mar 2014 23:33:26 -0400 Subject: [PATCH] gnu: pulseaudio: Increase thread-test timeout, for slower machines. * gnu/packages/patches/pulseaudio-increase-thread-test-timeout.patch: New file. * gnu/packages/pulseaudio.scm (pulseaudio): Add it. * gnu-system.am (dist_patch_DATA): Add it. --- gnu-system.am | 1 + .../patches/pulseaudio-increase-thread-test-timeout.patch | 12 ++++++++++++ gnu/packages/pulseaudio.scm | 5 ++++- 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 gnu/packages/patches/pulseaudio-increase-thread-test-timeout.patch diff --git a/gnu-system.am b/gnu-system.am index 197265c..b512a5c 100644 --- a/gnu-system.am +++ b/gnu-system.am @@ -311,6 +311,7 @@ dist_patch_DATA = \ gnu/packages/patches/perl-no-sys-dirs.patch \ gnu/packages/patches/plotutils-libpng-jmpbuf.patch \ gnu/packages/patches/procps-make-3.82.patch \ + gnu/packages/patches/pulseaudio-increase-thread-test-timeout.patch \ gnu/packages/patches/python-fix-dbm.patch \ gnu/packages/patches/qemu-make-4.0.patch \ gnu/packages/patches/qemu-multiple-smb-shares.patch \ diff --git a/gnu/packages/patches/pulseaudio-increase-thread-test-timeout.patch b/gnu/packages/patches/pulseaudio-increase-thread-test-timeout.patch new file mode 100644 index 0000000..a10a9d8 --- /dev/null +++ b/gnu/packages/patches/pulseaudio-increase-thread-test-timeout.patch @@ -0,0 +1,12 @@ +Needed for slower machines. + +--- pulseaudio/src/tests/thread-test.c.orig 2014-01-23 13:57:55.000000000 -0500 ++++ pulseaudio/src/tests/thread-test.c 2014-03-26 23:28:50.046386718 -0400 +@@ -152,6 +152,7 @@ + s = suite_create("Thread"); + tc = tcase_create("thread"); + tcase_add_test(tc, thread_test); ++ tcase_set_timeout(tc, 120); + suite_add_tcase(s, tc); + + sr = srunner_create(s); diff --git a/gnu/packages/pulseaudio.scm b/gnu/packages/pulseaudio.scm index db7e752..de95c8a 100644 --- a/gnu/packages/pulseaudio.scm +++ b/gnu/packages/pulseaudio.scm @@ -142,7 +142,10 @@ parse JSON formatted strings back into the C representation of JSON objects.") version ".tar.xz")) (sha256 (base32 - "0fgrr8v7yfh0byhzdv4c87v9lkj8g7gpjm8r9xrbvpa92a5kmhcr")))) + "0fgrr8v7yfh0byhzdv4c87v9lkj8g7gpjm8r9xrbvpa92a5kmhcr")) + (patches + (list (search-patch + "pulseaudio-increase-thread-test-timeout.patch"))))) (build-system gnu-build-system) (arguments `(#:configure-flags '("--localstatedir=/var" ;"--sysconfdir=/etc" -- 1.8.4 --=-=-=--