gnu: gst-plugins-bad: Disable failing test on armhf-linux.

* gnu/packages/gstreamer.scm (gst-plugins-bad)[arguments]: Add phase when
building for armhf-linux.
This commit is contained in:
Marius Bakke 2020-01-21 21:12:48 +01:00
parent 0025a1d31e
commit e003b7591f
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -313,8 +313,19 @@ (define-public gst-plugins-bad
"0x0y0hm0ga3zqi5q4090hw5sjh59y1ry9ak16qsaascm72i7mjzi"))))
(build-system meson-build-system)
(arguments
'(#:phases
`(#:phases
(modify-phases %standard-phases
,@(if (string-prefix? "arm" (or (%current-target-system)
(%current-system)))
;; Disable test that fails on ARMv7.
;; https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/1188
`((add-after 'unpack 'disable-asfmux-test
(lambda _
(substitute* "tests/check/meson.build"
(("\\[\\['elements/asfmux\\.c'\\]\\],")
""))
#t)))
'())
(add-after 'unpack 'disable-failing-test
(lambda _
;; FIXME: Why is this failing.