[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: gstreamer: Skip failing test on 32-bit systems.
From: |
guix-commits |
Subject: |
01/01: gnu: gstreamer: Skip failing test on 32-bit systems. |
Date: |
Thu, 13 Jun 2019 08:12:15 -0400 (EDT) |
mbakke pushed a commit to branch staging
in repository guix.
commit 2a9d89afb6fb869dd2bdf1e9f710f487786930fc
Author: Marius Bakke <address@hidden>
Date: Thu Jun 13 14:08:32 2019 +0200
gnu: gstreamer: Skip failing test on 32-bit systems.
* gnu/packages/gstreamer.scm (gstreamer)[arguments]: When building for a
32-bit system, add #:phases.
---
gnu/packages/gstreamer.scm | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index d5d1415..2a818e0 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -7,6 +7,7 @@
;;; Copyright © 2016, 2018 Leo Famulari <address@hidden>
;;; Copyright © 2017 Ricardo Wurmus <address@hidden>
;;; Copyright © 2018 Tobias Geerinckx-Rice <address@hidden>
+;;; Copyright © 2019 Marius Bakke <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -118,7 +119,19 @@ arrays of data.")
`(#:configure-flags
(list (string-append "--with-html-dir="
(assoc-ref %outputs "doc")
- "/share/gtk-doc/html"))))
+ "/share/gtk-doc/html"))
+
+ ,@(if (not (target-64bit?))
+ ;; Skip test that fails on 32-bit systems:
+ ;; <https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/316>.
+ `(#:phases (modify-phases %standard-phases
+ (add-before 'check 'disable-gstbufferpool-test
+ (lambda _
+ (substitute* "tests/check/Makefile"
+ (("^[[:blank:]]+gst/gstbufferpool.*$")
+ ""))
+ #t))))
+ '())))
(propagated-inputs `(("glib" ,glib))) ; required by gstreamer-1.0.pc.
(native-inputs
`(("bison" ,bison)