[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: gst-plugins-good: Fix test failure on 32-bit systems.
From: |
guix-commits |
Subject: |
01/02: gnu: gst-plugins-good: Fix test failure on 32-bit systems. |
Date: |
Sun, 15 Nov 2020 17:35:51 -0500 (EST) |
mbakke pushed a commit to branch staging
in repository guix.
commit 69967919b3d16afe9ac3f13f94867eac373c858c
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Fri Nov 13 11:35:44 2020 +0100
gnu: gst-plugins-good: Fix test failure on 32-bit systems.
* gnu/packages/gstreamer.scm (gst-plugins-good)[arguments]: Add phase
fix-broken-test.
---
gnu/packages/gstreamer.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 4c3e341..b74b6fd 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -597,6 +597,14 @@ for the GStreamer multimedia library.")
`(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'fix-broken-test
+ (lambda _
+ ;; Fix test failure on 32-bit. Remove for > 1.18.1.
+ ;;
https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/803
+ (substitute* "tests/check/elements/qtdemux.c"
+ (("10000000")
+ "G_GUINT64_CONSTANT (10000000)"))
+ #t))
(add-before 'check 'pre-check
(lambda _
;; Tests require a running X server.