mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-libs/libspng: skip broken tests due to newer libpng
Bug: https://bugs.gentoo.org/956692 Signed-off-by: Alfred Wingate <parona@protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/43413 Closes: https://github.com/gentoo/gentoo/pull/43413 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
a7a727bf69
commit
01843d06f2
@@ -35,3 +35,23 @@ src_configure() {
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local -a tests
|
||||
tests=( $(meson test --list -C "${BUILD_DIR}") )
|
||||
|
||||
local -a 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[@]}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user