mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
media-video/ffmpeg: skip tests that are picky about zlib for zlib-ng
At same time setup a placeholder variable to make it easy to skip more tests in the future if needed given need to be all be gathered in a single configure option. Will likely keep that there even no longer need to skip anything. A downside of --ignore-tests is that configure options are recorded and users will see the whole list of test skips in ffmpeg invocations (which will vary depending on which zlib it built against, not that it actually changes the code). Haven't verified the skip list for old ffmpeg versions, so it may be skipping some not-yet-existing tests (does pass though). Closes: https://bugs.gentoo.org/965737 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -447,6 +447,20 @@ multilib_src_configure() {
|
||||
esac
|
||||
fi
|
||||
|
||||
# skipping tests is handled at configure-time
|
||||
local skip_tests=()
|
||||
|
||||
# zlib-ng is not bitexact w/ zlib producing mismatching md5sum (bug #965737)
|
||||
has_version 'sys-libs/zlib-ng[compat]' &&
|
||||
skip_tests+=(
|
||||
lavf-{apng{,.png},gray16be.png,png,rgb48be.png}
|
||||
mov-mp4-frag-flush
|
||||
vsynth{1,2,3}-{flashsv,mpng,zlib}
|
||||
)
|
||||
|
||||
(( ${#skip_tests[@]} )) &&
|
||||
conf+=( --ignore-tests=$(IFS=,; echo "${skip_tests[*]}") )
|
||||
|
||||
# import options from FFMPEG_IUSE_MAP
|
||||
local flag license mod v
|
||||
local -A optmap=() licensemap=()
|
||||
|
||||
@@ -447,6 +447,20 @@ multilib_src_configure() {
|
||||
esac
|
||||
fi
|
||||
|
||||
# skipping tests is handled at configure-time
|
||||
local skip_tests=()
|
||||
|
||||
# zlib-ng is not bitexact w/ zlib producing mismatching md5sum (bug #965737)
|
||||
has_version 'sys-libs/zlib-ng[compat]' &&
|
||||
skip_tests+=(
|
||||
lavf-{apng{,.png},gray16be.png,png,rgb48be.png}
|
||||
mov-mp4-frag-flush
|
||||
vsynth{1,2,3}-{flashsv,mpng,zlib}
|
||||
)
|
||||
|
||||
(( ${#skip_tests[@]} )) &&
|
||||
conf+=( --ignore-tests=$(IFS=,; echo "${skip_tests[*]}") )
|
||||
|
||||
# import options from FFMPEG_IUSE_MAP
|
||||
local flag license mod v
|
||||
local -A optmap=() licensemap=()
|
||||
|
||||
@@ -505,6 +505,20 @@ multilib_src_configure() {
|
||||
esac
|
||||
fi
|
||||
|
||||
# skipping tests is handled at configure-time
|
||||
local skip_tests=()
|
||||
|
||||
# zlib-ng is not bitexact w/ zlib producing mismatching md5sum (bug #965737)
|
||||
has_version 'sys-libs/zlib-ng[compat]' &&
|
||||
skip_tests+=(
|
||||
lavf-{apng{,.png},gray16be.png,png,rgb48be.png}
|
||||
mov-mp4-frag-flush
|
||||
vsynth{1,2,3}-{flashsv,mpng,zlib}
|
||||
)
|
||||
|
||||
(( ${#skip_tests[@]} )) &&
|
||||
conf+=( --ignore-tests=$(IFS=,; echo "${skip_tests[*]}") )
|
||||
|
||||
# import options from FFMPEG_IUSE_MAP
|
||||
local flag license mod v
|
||||
local -A optmap=() licensemap=()
|
||||
|
||||
@@ -519,6 +519,20 @@ multilib_src_configure() {
|
||||
esac
|
||||
fi
|
||||
|
||||
# skipping tests is handled at configure-time
|
||||
local skip_tests=()
|
||||
|
||||
# zlib-ng is not bitexact w/ zlib producing mismatching md5sum (bug #965737)
|
||||
has_version 'sys-libs/zlib-ng[compat]' &&
|
||||
skip_tests+=(
|
||||
lavf-{apng{,.png},gray16be.png,png,rgb48be.png}
|
||||
mov-mp4-frag-flush
|
||||
vsynth{1,2,3}-{flashsv,mpng,zlib}
|
||||
)
|
||||
|
||||
(( ${#skip_tests[@]} )) &&
|
||||
conf+=( --ignore-tests=$(IFS=,; echo "${skip_tests[*]}") )
|
||||
|
||||
# import options from FFMPEG_IUSE_MAP
|
||||
local flag license mod v
|
||||
local -A optmap=() licensemap=()
|
||||
|
||||
@@ -515,6 +515,20 @@ multilib_src_configure() {
|
||||
esac
|
||||
fi
|
||||
|
||||
# skipping tests is handled at configure-time
|
||||
local skip_tests=()
|
||||
|
||||
# zlib-ng is not bitexact w/ zlib producing mismatching md5sum (bug #965737)
|
||||
has_version 'sys-libs/zlib-ng[compat]' &&
|
||||
skip_tests+=(
|
||||
lavf-{apng{,.png},gray16be.png,png,rgb48be.png}
|
||||
mov-mp4-frag-flush
|
||||
vsynth{1,2,3}-{flashsv,mpng,zlib}
|
||||
)
|
||||
|
||||
(( ${#skip_tests[@]} )) &&
|
||||
conf+=( --ignore-tests=$(IFS=,; echo "${skip_tests[*]}") )
|
||||
|
||||
# import options from FFMPEG_IUSE_MAP
|
||||
local flag license mod v
|
||||
local -A optmap=() licensemap=()
|
||||
|
||||
@@ -520,6 +520,20 @@ multilib_src_configure() {
|
||||
esac
|
||||
fi
|
||||
|
||||
# skipping tests is handled at configure-time
|
||||
local skip_tests=()
|
||||
|
||||
# zlib-ng is not bitexact w/ zlib producing mismatching md5sum (bug #965737)
|
||||
has_version 'sys-libs/zlib-ng[compat]' &&
|
||||
skip_tests+=(
|
||||
lavf-{apng{,.png},gray16be.png,png,rgb48be.png}
|
||||
mov-mp4-frag-flush
|
||||
vsynth{1,2,3}-{flashsv,mpng,zlib}
|
||||
)
|
||||
|
||||
(( ${#skip_tests[@]} )) &&
|
||||
conf+=( --ignore-tests=$(IFS=,; echo "${skip_tests[*]}") )
|
||||
|
||||
# import options from FFMPEG_IUSE_MAP
|
||||
local flag license mod v
|
||||
local -A optmap=() licensemap=()
|
||||
|
||||
Reference in New Issue
Block a user