mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
media-libs/libspng: use eclass to skip tests
Closes: https://bugs.gentoo.org/969766 Signed-off-by: Alfred Wingate <parona@protonmail.com> Part-of: https://codeberg.org/gentoo/gentoo/pulls/1971 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user