diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2023-03-03 00:18:26 -0500 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2023-03-03 00:25:56 -0500 |
commit | 246b6b742559270b0e3dc0d470c698bd7e72445c (patch) | |
tree | 98c81e273423078471ddffb02694176744ac6f63 /media-video/mpv | |
parent | app-eselect/eselect-wine: don't fail if migration file exists (diff) | |
download | gentoo-246b6b742559270b0e3dc0d470c698bd7e72445c.tar.gz gentoo-246b6b742559270b0e3dc0d470c698bd7e72445c.tar.bz2 gentoo-246b6b742559270b0e3dc0d470c698bd7e72445c.zip |
media-video/mpv: drop custom src_test in live
All tests are now handled by meson and --unittest no longer
exists. For now skip nothing but may need to revisit this.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'media-video/mpv')
-rw-r--r-- | media-video/mpv/mpv-9999.ebuild | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild index 34293c859ac9..74cbb75b987a 100644 --- a/media-video/mpv/mpv-9999.ebuild +++ b/media-video/mpv/mpv-9999.ebuild @@ -5,7 +5,7 @@ EAPI=8 LUA_COMPAT=( lua5-1 luajit ) PYTHON_COMPAT=( python3_{9..11} ) -inherit edo flag-o-matic lua-single meson optfeature pax-utils python-single-r1 xdg +inherit flag-o-matic lua-single meson optfeature pax-utils python-single-r1 xdg if [[ ${PV} == 9999 ]]; then inherit git-r3 @@ -243,29 +243,6 @@ src_configure() { meson_src_configure } -src_test() { - # https://github.com/mpv-player/mpv/blob/master/DOCS/man/options.rst#debugging - 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 - - # currently only does basic libmpv testing, do in addition to --unittest - meson_src_test -} - src_install() { meson_src_install |