gnu: gst-plugins-bad: Disable failing test on armhf-linux.
authorMarius Bakke <mbakke@fastmail.com>
Tue, 21 Jan 2020 20:12:48 +0000 (21:12 +0100)
committerMarius Bakke <mbakke@fastmail.com>
Tue, 21 Jan 2020 20:29:06 +0000 (21:29 +0100)
* gnu/packages/gstreamer.scm (gst-plugins-bad)[arguments]: Add phase when
building for armhf-linux.

gnu/packages/gstreamer.scm

index ce4eb70..7ff78b2 100644 (file)
@@ -313,8 +313,19 @@ developers consider to have good quality code and correct functionality.")
                 "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.