guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch core-updates-frozen updated: gnu: gst-plugins-base: Disable the e


From: guix-commits
Subject: branch core-updates-frozen updated: gnu: gst-plugins-base: Disable the elements_appsrc test.
Date: Thu, 18 Nov 2021 10:22:30 -0500

This is an automated email from the git hooks/post-receive script.

apteryx pushed a commit to branch core-updates-frozen
in repository guix.

The following commit(s) were added to refs/heads/core-updates-frozen by this 
push:
     new ab22743  gnu: gst-plugins-base: Disable the elements_appsrc test.
ab22743 is described below

commit ab22743ad45c62468983b5a76a50de8babf17e41
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Nov 18 10:08:57 2021 -0500

    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.
---
 gnu/packages/gstreamer.scm | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index f5eea46..35a992d 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]