From 7e3caf0077650fe904f81f7d5185decd176a6190 Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Wed, 16 Jun 2021 21:56:14 -0400 Subject: gnu: farstream: Enable tests. This patch depends on gstreamer's update to 1.18.4. * gnu/packages/patches/farstream-gupnp.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/freedesktop.scm (farstream)[patches]: Use it. [arguments](tests?): Remove argument. [phases](disable-timeout-tests): New phase. --- gnu/packages/freedesktop.scm | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'gnu/packages/freedesktop.scm') diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index af42a0701c..d0083a84de 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -225,12 +225,13 @@ application-centers for distributions.") (sha256 (base32 "1sd8syldyq6bphfdm129s3gq554vfv7vh1vcwzk48gjryf101awk")) (patches - (search-patches "farstream-make.patch")))) + (search-patches + "farstream-gupnp.patch" ;for test 'transmitter/rawudp' + "farstream-make.patch")))) (build-system glib-or-gtk-build-system) (outputs '("out" "doc")) (arguments - `(#:tests? #f ; https://gitlab.freedesktop.org/farstream/farstream/-/issues/18 - #:configure-flags + `(#:configure-flags (list "--enable-gtk-doc" "--enable-glib-asserts" @@ -246,6 +247,15 @@ application-centers for distributions.") (assoc-ref %build-inputs "common") "common") #t)) + (add-after 'unpack 'disable-timeout-tests + (lambda _ + (substitute* "tests/check/Makefile.am" + ;; This test timeouts despite changing + ;; the value of 'CK_DEFAULT_TIMEOUT' to 600, + ;; as per %common-gstreamer-phases. + ;; Reported to upstream: + ;; https://gitlab.freedesktop.org/farstream/farstream/-/issues/20 + (("[ \t]*transmitter/nice.*$") "")))) (add-after 'unpack 'patch-docbook-xml (lambda* (#:key inputs #:allow-other-keys) (with-directory-excursion "docs" -- cgit v1.2.3