diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-11-18 10:08:57 -0500 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-11-18 10:20:52 -0500 |
commit | ab22743ad45c62468983b5a76a50de8babf17e41 (patch) | |
tree | a12389e7f6724cb1a9e7a99c54781abb00da2e23 | |
parent | 749dec114f222c499ad76915d37b7135a385b63e (diff) | |
download | guix-ab22743ad45c62468983b5a76a50de8babf17e41.tar guix-ab22743ad45c62468983b5a76a50de8babf17e41.tar.gz |
gnu: gst-plugins-base: Disable the elements_appsrc test.
* gnu/packages/gstreamer.scm (gst-plugins-base): Remove trailing #t.
[phases]{disable-problematic-tests}: New phase.
-rw-r--r-- | gnu/packages/gstreamer.scm | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm index f5eea460b5..35a992dcf7 100644 --- a/gnu/packages/gstreamer.scm +++ b/gnu/packages/gstreamer.scm @@ -605,11 +605,17 @@ This package provides the core library and elements.") `(#:phases (modify-phases %standard-phases ,@%common-gstreamer-phases + (add-after 'unpack 'disable-problematic-tests + (lambda _ + (substitute* "tests/check/meson.build" + ;; This test causes nondeterministic failures (see: + ;; https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/issues/950). + ((".*'elements/appsrc.c'.*") + "")))) (add-before 'configure 'patch (lambda _ (substitute* "tests/check/libs/pbutils.c" - (("/bin/sh") (which "sh"))) - #t)) + (("/bin/sh") (which "sh"))))) (add-before 'check 'pre-check (lambda _ ;; Tests require a running X server. @@ -620,8 +626,7 @@ This package provides the core library and elements.") ;; Tests look for $XDG_RUNTIME_DIR. (setenv "XDG_RUNTIME_DIR" (getcwd)) ;; For missing '/etc/machine-id'. - (setenv "DBUS_FATAL_WARNINGS" "0") - #t))))) + (setenv "DBUS_FATAL_WARNINGS" "0")))))) (home-page "https://gstreamer.freedesktop.org/") (synopsis "Plugins for the GStreamer multimedia library") |