From: Mark H Weaver <mhw@netris.org>
To: guix-devel@gnu.org
Subject: [PATCH] gnu: pulseaudio: Increase thread-test timeout, for slower machines
Date: Fri, 28 Mar 2014 03:35:51 -0400 [thread overview]
Message-ID: <87r45mhj1k.fsf@yeeloong.lan> (raw)
[-- Attachment #1: Type: text/plain, Size: 53 bytes --]
This is needed on Loongson 2F machines.
Mark
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: [PATCH] gnu: pulseaudio: Increase thread-test timeout, for slower machines --]
[-- Type: text/x-patch, Size: 2800 bytes --]
From a3f19db3e9f0dd810f23c06f4d9e63d815e29c21 Mon Sep 17 00:00:00 2001
From: Mark H Weaver <mhw@netris.org>
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
next reply other threads:[~2014-03-28 7:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-28 7:35 Mark H Weaver [this message]
2014-03-28 13:00 ` [PATCH] gnu: pulseaudio: Increase thread-test timeout, for slower machines Ludovic Courtès
2014-04-01 17:59 ` [PATCH] gnu: pulseaudio: Increase timeouts for tests Mark H Weaver
2014-04-01 19:16 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r45mhj1k.fsf@yeeloong.lan \
--to=mhw@netris.org \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.