commit: 4e0d8c8e5c6e1c8dd5f6a6ab695337f011fce4ef
Author: Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Sun Sep 21 04:15:08 2025 +0000
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Wed Jan 14 11:33:09 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e0d8c8e
media-libs/gstreamer-editing-services: unrestrict tests
Just skip the failing tests.
Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
.../gstreamer-editing-services-1.24.13.ebuild | 46 +++++++++++++++++++++-
1 file changed, 44 insertions(+), 2 deletions(-)
diff --git
a/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.24.13.ebuild
b/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.24.13.ebuild
index 676785d92f38..cd88138864b9 100644
---
a/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.24.13.ebuild
+++
b/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.24.13.ebuild
@@ -17,8 +17,7 @@ KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="+introspection test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-# Some tests are failing
-RESTRICT="test"
+RESTRICT="!test? ( test )"
RDEPEND="
${PYTHON_DEPS}
@@ -47,6 +46,49 @@ src_configure() {
meson_src_configure
}
+src_test() {
+ # Homebrew test skips for meson
+ local -a tests
+ tests=( $(meson test --list -C "${BUILD_DIR}") )
+
+ local -a _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/ges/asset.c:229:F:a:test_uri_clip_change_asset:0:
'g_list_length (GES_CONTAINER_CHILDREN (extractable))' (1) is not equal to '2'
(2)
+ ges_asset
+ #
tests/check/ges/project.c:248:F:project:test_project_load_xges:0:
'g_list_length (trackelements)' (0) is not equal to '2' (2)
+ ges_project
+ #
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.10.0"; 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[@]}
+}
+
src_install() {
meson_src_install
python_moduleinto gi.overrides