[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
38/63: gnu: gstreamer: Increase test timeouts.
From: |
guix-commits |
Subject: |
38/63: gnu: gstreamer: Increase test timeouts. |
Date: |
Tue, 26 May 2020 17:18:11 -0400 (EDT) |
mbakke pushed a commit to branch staging2
in repository guix.
commit a64eeaf75585b1871526a226f8cf02064668b74d
Author: Marius Bakke <address@hidden>
AuthorDate: Thu May 21 22:10:02 2020 +0200
gnu: gstreamer: Increase test timeouts.
Fixes <https://bugs.gnu.org/36464>.
Reported by Steffen Rytter Postas <address@hidden>.
* gnu/packages/gstreamer.scm (%common-gstreamer-phases): New variable.
(gstreamer, gst-plugins-base, gst-plugins-good, gst-plugins-bad,
gst-plugins-ugly, gst-editing-services)[arguments]: Use it.
---
gnu/packages/gstreamer.scm | 24 ++++++++++++++++++++++--
1 file changed, 22 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 7596796..69fb1d8 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -104,6 +104,17 @@ arrays of data.")
;; under the 3-clause BSD license, the rest is under 2-clause BSD license.
(license (list license:bsd-2 license:bsd-3))))
+;; Increase the test timeouts to accommodate slow or busy machines.
+(define %common-gstreamer-phases
+ '((add-after 'unpack 'increase-test-timeout
+ (lambda _
+ (substitute* "tests/check/meson.build"
+ (("'CK_DEFAULT_TIMEOUT', '20'")
+ "'CK_DEFAULT_TIMEOUT', '60'")
+ (("timeout ?: 3 \\* 60")
+ "timeout: 9 * 60"))
+ #t))))
+
(define-public gstreamer
(package
(name "gstreamer")
@@ -122,6 +133,7 @@ arrays of data.")
(arguments
`(#:phases
(modify-phases %standard-phases
+ ,@%common-gstreamer-phases
;; FIXME: Since switching to the meson-build-system, two tests
;; started failing on i686. See
;; <https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/499>.
@@ -220,12 +232,13 @@ This package provides the core library and elements.")
("gobject-introspection" ,gobject-introspection)
("python-wrapper" ,python-wrapper)))
(arguments
- '(#:configure-flags '("-Dgl=disabled"
+ `(#:configure-flags '("-Dgl=disabled"
;; FIXME: Documentation fails to build without
;; enabling GL above, which causes other problems.
"-Ddoc=false")
#:phases
(modify-phases %standard-phases
+ ,@%common-gstreamer-phases
(add-before 'configure 'patch
(lambda _
(substitute* "tests/check/libs/pbutils.c"
@@ -284,6 +297,7 @@ for the GStreamer multimedia library.")
(arguments
`(#:phases
(modify-phases %standard-phases
+ ,@%common-gstreamer-phases
,@(if (string-prefix? "arm" (or (%current-target-system)
(%current-system)))
;; FIXME: These tests started failing on armhf after switching
to Meson.
@@ -332,6 +346,7 @@ developers consider to have good quality code and correct
functionality.")
(arguments
`(#:phases
(modify-phases %standard-phases
+ ,@%common-gstreamer-phases
,@(if (string-prefix? "arm" (or (%current-target-system)
(%current-system)))
;; Disable test that fails on ARMv7.
@@ -421,6 +436,9 @@ par compared to the rest.")
(base32
"1jpvc32x6q01zjkfgh6gmq6aaikiyfwwnhj7bmvn52syhrdl202m"))))
(build-system meson-build-system)
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ ,@%common-gstreamer-phases)))
(inputs
`(("gst-plugins-base" ,gst-plugins-base)
("liba52" ,liba52)
@@ -492,7 +510,9 @@ compression formats through the use of the libav library.")
(build-system meson-build-system)
(arguments
;; FIXME: 16/22 failing tests.
- `(#:tests? #f))
+ `(#:tests? #f
+ #:phases (modify-phases %standard-phases
+ ,@%common-gstreamer-phases)))
(inputs
`(("gst-plugins-base" ,gst-plugins-base)
("libxml2" ,libxml2)))
- 23/63: gnu: python-requests: Update to 2.23.0., (continued)
- 23/63: gnu: python-requests: Update to 2.23.0., guix-commits, 2020/05/26
- 08/63: gnu: qpdf: Update to 10.0.1., guix-commits, 2020/05/26
- 07/63: gnu: ImageMagick: Update to 6.9.11-11., guix-commits, 2020/05/26
- 10/63: gnu: libva: Update to 2.7.1., guix-commits, 2020/05/26
- 19/63: gnu: python-certifi: Update to 2020.4.5.1., guix-commits, 2020/05/26
- 17/63: gnu: python-pycairo: Update to 1.19.1., guix-commits, 2020/05/26
- 24/63: gnu: python-cython: Update to 0.29.17., guix-commits, 2020/05/26
- 25/63: gnu: python-pycparser: Update to 2.20., guix-commits, 2020/05/26
- 29/63: gnu: pcre2: Update to 10.35., guix-commits, 2020/05/26
- 37/63: gnu: cogl: Fix build with Mesa 20., guix-commits, 2020/05/26
- 38/63: gnu: gstreamer: Increase test timeouts.,
guix-commits <=
- 43/63: gnu: glslang: Build shared libraries., guix-commits, 2020/05/26
- 39/63: gnu: spirv-headers: Update to 1.5.3., guix-commits, 2020/05/26
- 36/63: Merge branch 'master' into staging, guix-commits, 2020/05/26
- 15/63: gnu: CUPS: Update to 2.3.3., guix-commits, 2020/05/26
- 18/63: gnu: python-cffi: Update to 1.14.0., guix-commits, 2020/05/26
- 47/63: gnu: vulkan-tools: Update to 1.2.140., guix-commits, 2020/05/26
- 51/63: gnu: Mesa: Remove unused input., guix-commits, 2020/05/26
- 22/63: gnu: python-urllib3: Update to 1.25.9., guix-commits, 2020/05/26
- 31/63: gnu: python-jinja2: Update to 2.11.2., guix-commits, 2020/05/26
- 41/63: gnu: spirv-tools: Do not build static libraries., guix-commits, 2020/05/26