unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: pulseaudio: Increase thread-test timeout, for slower machines
@ 2014-03-28  7:35 Mark H Weaver
  2014-03-28 13:00 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Mark H Weaver @ 2014-03-28  7:35 UTC (permalink / raw)
  To: guix-devel

[-- 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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-04-01 19:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-28  7:35 [PATCH] gnu: pulseaudio: Increase thread-test timeout, for slower machines Mark H Weaver
2014-03-28 13:00 ` 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

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).