diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-30 20:18:13 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-30 20:18:13 +0000 |
commit | b449f73a7f391721e624420ba791536e3d6b17a8 (patch) | |
tree | 253a0e397fac587d17c35bed49d22a555bcc0ac9 /media-video/mpv/mpv-9999.ebuild | |
parent | 363e9b282b6bd3908c2a2b56c894d785cf2fb94d (diff) |
gentoo auto-resync : 30:12:2022 - 20:18:13
Diffstat (limited to 'media-video/mpv/mpv-9999.ebuild')
-rw-r--r-- | media-video/mpv/mpv-9999.ebuild | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild index a7b00cd2fc59..0f9e5d85df07 100644 --- a/media-video/mpv/mpv-9999.ebuild +++ b/media-video/mpv/mpv-9999.ebuild @@ -250,7 +250,22 @@ src_configure() { src_test() { # https://github.com/mpv-player/mpv/blob/master/DOCS/man/options.rst#debugging - edo "${BUILD_DIR}"/mpv --no-config -v --unittest=all-simple + local tests=($("${BUILD_DIR}"/mpv --no-config --unittest=help | tail -n +2; assert)) + (( ${#tests[@]} )) || die "failed to gather any tests" + + local skip=( + all-simple + + # fails on non-issue minor inconsistencies (bug #888639) + img_format + repack_sws + ) + + local test + for test in "${tests[@]}"; do + [[ ${test} == @($(IFS='|'; echo "${skip[*]}")) ]] || + edo "${BUILD_DIR}"/mpv -v --no-config --unittest="${test}" + done } src_install() { |