[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] gnu: pulseaudio: Increase timeouts for tests
From: |
Mark H Weaver |
Subject: |
[PATCH] gnu: pulseaudio: Increase timeouts for tests |
Date: |
Tue, 01 Apr 2014 13:59:32 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
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
>From 727c3ed2fba074f3fad38d352d0484d69cc9993b Mon Sep 17 00:00:00 2001
From: Mark H Weaver <address@hidden>
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 <address@hidden>
+;;; Copyright © 2014 Mark H Weaver <address@hidden>
;;;
;;; 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
- [PATCH] gnu: pulseaudio: Increase timeouts for tests,
Mark H Weaver <=