🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.gentoo.dev
Article #97

[gentoo-dev] [PATCH 04/10] media-libs/gstreamer-editing-services: use eclass to skip tests

#97
From: Alfred Wingate
Date: Thu, 05 Nov 2026 04:00
78 lines
4141 bytes
From: Alfred Wingate <parona@protonmail.com>

Signed-off-by: Alfred Wingate <parona@protonmail.com>
---
 .../gstreamer-editing-services-1.26.11.ebuild | 28 ++-----------------
 1 file changed, 3 insertions(+), 25 deletions(-)

diff --git a/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.26.11.ebuild b/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.26.11.ebuild
index 8ce51ea41e50c..85dafb754f5d1 100644
--- a/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.26.11.ebuild
+++ b/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.26.11.ebuild
@@ -2,6 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
+
 PYTHON_COMPAT=( python3_{12..14} )
 
 inherit meson python-r1 verify-sig
@@ -63,42 +64,19 @@ src_configure() {
 }
 
 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=(
 		# tests/check/ges/uriclip.c:71:F:filesource:test_filesource_basic:0: 'g_list_length (trackelements)' (0) is not equal to '1' (1)
 		# tests/check/ges/uriclip.c:244:F:filesource:test_filesource_images:0: Assertion 'ges_uri_clip_asset_is_image (GES_URI_CLIP_ASSET (asset))' failed
 		ges_uriclip
 		# tests/check/nle/common.c:50:F:tempochange:test_tempochange_play:0: Failed to make element pitch
 		# tests/check/nle/common.c:50:F:tempochange:test_tempochange_seek:0: Failed to make element pitch
-
 		nle_tempochange
 		# tests/check/ges/clip.c:2515:F:clip:test_children_max_duration:0: Assertion 'ges_layer_add_clip (layer, GES_CLIP (clip))' failed
 		# tests/check/ges/clip.c:3802:F:clip:test_rate_effects_duration_limit:0: Assertion 'ges_base_effect_is_time_effect (GES_BASE_EFFECT (pitch))' failed
-
 		ges_clip
 	)
 
-	# Add suites which in this case are the project name
-	if has_version ">=dev-build/meson-1.9.2"; then
-		local -a skip_tests=()
-		for skip_test in ${_skip_tests[@]}; do
-			skip_tests+=( "gst-editing-services:${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
-
-	meson_src_test ${tests[@]}
+	meson_src_test
 }
 
 src_install() {
-- 
2.56.0
Technical Details
Message-ID: <NVWNP-9V7G-21@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!fu-berlin.de!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!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Alfred Wingate <parona@protonmail.com>
Newsgroups: linux.gentoo.dev
Subject: [gentoo-dev] [PATCH 04/10] media-libs/gstreamer-editing-services: use eclass to skip tests
Date: Thu, 05 Nov 2026 05:00:01 +0100
Message-ID: <NVWNP-9V7G-21@gated-at.bofh.it>
References: <NVWE9-9V4a-1@gated-at.bofh.it>
Feedback-ID: 25092314:user:proton
X-Pm-Message-ID: 09c2126ebc0208be23b2cd9cf9219aa951d92a7d
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: 78
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:06 +0000
X-Original-Message-ID: <20261105034814.1035529-5-parona@protonmail.com>
X-Original-References: <20261105034814.1035529-1-parona@protonmail.com>