🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.gentoo.dev
Article #91

[gentoo-dev] [PATCH 06/10] media-plugins/gst-plugins-libav: use eclass to skip tests

#91
From: Alfred Wingate
Date: Thu, 05 Nov 2026 04:00
50 lines
3252 bytes
From: Alfred Wingate <parona@protonmail.com>

Signed-off-by: Alfred Wingate <parona@protonmail.com>
---
 .../gst-plugins-libav-1.26.11.ebuild          | 25 ++-----------------
 1 file changed, 2 insertions(+), 23 deletions(-)

diff --git a/media-plugins/gst-plugins-libav/gst-plugins-libav-1.26.11.ebuild b/media-plugins/gst-plugins-libav/gst-plugins-libav-1.26.11.ebuild
index 3808590da7c69..d3bcdb7b5a2ec 100644
--- a/media-plugins/gst-plugins-libav/gst-plugins-libav-1.26.11.ebuild
+++ b/media-plugins/gst-plugins-libav/gst-plugins-libav-1.26.11.ebuild
@@ -34,32 +34,11 @@ PATCHES=(
 )
 
 multilib_src_test() {
-	# Homebrew test skips for meson
-	local -a tests
-	tests=( $(meson test --list -C "${BUILD_DIR}") )
-
-	local -a _skip_tests=(
+	local -a EMESON_SKIP_TESTS=(
 		# flaky to hanging
 		elements_avaudenc
 	)
 
-	# Add suites which in this case are PN
-	if has_version ">=dev-build/meson-1.10.0"; then
-		local -a skip_tests=()
-		for skip_test in ${_skip_tests[@]}; do
-			skip_tests+=( "${MY_PN}:${skip_test}" )
-		done
-	else
-		local -a skip_tests=( ${_skip_tests[@]} )
-	fi
-	unset _skip_tests
-
-	for test_index in ${!tests[@]}; do
-		if [[ ${skip_tests[@]} =~ ${tests[${test_index}]} ]]; then
-			unset tests[${test_index}]
-		fi
-	done
-
 	# gstreamer_multilib_src_test doesn't pass arguments
-	GST_GL_WINDOW=x11 virtx meson_src_test --timeout-multiplier 5 ${tests[@]}
+	GST_GL_WINDOW=x11 virtx meson_src_test --timeout-multiplier 5
 }
-- 
2.56.0
Technical Details
Message-ID: <NVWNP-9V7G-7@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NVWE9-9V4a-1@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Alfred Wingate <parona@protonmail.com>
Newsgroups: linux.gentoo.dev
Subject: [gentoo-dev] [PATCH 06/10] media-plugins/gst-plugins-libav: use eclass to skip tests
Date: Thu, 05 Nov 2026 05:00:01 +0100
Message-ID: <NVWNP-9V7G-7@gated-at.bofh.it>
References: <NVWE9-9V4a-1@gated-at.bofh.it>
X-Original-To: "gentoo-dev@lists.gentoo.org" <gentoo-dev@lists.gentoo.org>
Feedback-ID: 25092314:user:proton
X-Pm-Message-ID: a5971d26940c404f89e01704702311a1adcfb6ad
List-ID: Gentoo Linux mail <gentoo-dev.gentoo.org>
Reply-To: gentoo-dev@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Approved: robomod@news.nic.it
Lines: 50
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: "base-system@gentoo.org" <base-system@gentoo.org>, "sam@gentoo.org" <sam@gentoo.org>, "eschwartz@gentoo.org" <eschwartz@gentoo.org>, "inbox@peterleese.org" <inbox@peterleese.org>, "gstreamer@gentoo.org" <gstreamer@gentoo.org>, "chewi@gentoo.org" <chewi@gentoo.org>, Alfred Wingate <parona@protonmail.com>
X-Original-Date: Thu, 05 Nov 2026 03:49:22 +0000
X-Original-Message-ID: <20261105034814.1035529-7-parona@protonmail.com>
X-Original-References: <20261105034814.1035529-1-parona@protonmail.com>