diff --git a/media-libs/libspng/libspng-0.7.4.ebuild b/media-libs/libspng/libspng-0.7.4.ebuild index 0e1c1dec892dd..3ac1b59e08b06 100644 --- a/media-libs/libspng/libspng-0.7.4.ebuild +++ b/media-libs/libspng/libspng-0.7.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 2024-2025 Gentoo Authors +# Copyright 2024-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -37,21 +37,12 @@ src_configure() { } src_test() { - local -a tests - tests=( $(meson test --list -C "${BUILD_DIR}") ) - - local -a skip_tests=( + local -a EMESON_SKIP_TESTS=( # Incompatabilities with >=libpng-1.6.47 # bug #956692 ch1n3p04 ch2n3p08 ) - 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 }