Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/mpv/
Date: Fri, 03 Mar 2023 05:26:21
Message-Id: 1677821156.246b6b742559270b0e3dc0d470c698bd7e72445c.ionen@gentoo
1 commit: 246b6b742559270b0e3dc0d470c698bd7e72445c
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Fri Mar 3 05:18:26 2023 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 3 05:25:56 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=246b6b74
7
8 media-video/mpv: drop custom src_test in live
9
10 All tests are now handled by meson and --unittest no longer
11 exists. For now skip nothing but may need to revisit this.
12
13 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
14
15 media-video/mpv/mpv-9999.ebuild | 25 +------------------------
16 1 file changed, 1 insertion(+), 24 deletions(-)
17
18 diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild
19 index 34293c859ac9..74cbb75b987a 100644
20 --- a/media-video/mpv/mpv-9999.ebuild
21 +++ b/media-video/mpv/mpv-9999.ebuild
22 @@ -5,7 +5,7 @@ EAPI=8
23
24 LUA_COMPAT=( lua5-1 luajit )
25 PYTHON_COMPAT=( python3_{9..11} )
26 -inherit edo flag-o-matic lua-single meson optfeature pax-utils python-single-r1 xdg
27 +inherit flag-o-matic lua-single meson optfeature pax-utils python-single-r1 xdg
28
29 if [[ ${PV} == 9999 ]]; then
30 inherit git-r3
31 @@ -243,29 +243,6 @@ src_configure() {
32 meson_src_configure
33 }
34
35 -src_test() {
36 - # https://github.com/mpv-player/mpv/blob/master/DOCS/man/options.rst#debugging
37 - local tests=($("${BUILD_DIR}"/mpv --no-config --unittest=help | tail -n +2; assert))
38 - (( ${#tests[@]} )) || die "failed to gather any tests"
39 -
40 - local skip=(
41 - all-simple
42 -
43 - # fails on non-issue minor inconsistencies (bug #888639)
44 - img_format
45 - repack_sws
46 - )
47 -
48 - local test
49 - for test in "${tests[@]}"; do
50 - [[ ${test} == @($(IFS='|'; echo "${skip[*]}")) ]] ||
51 - edo "${BUILD_DIR}"/mpv -v --no-config --unittest="${test}"
52 - done
53 -
54 - # currently only does basic libmpv testing, do in addition to --unittest
55 - meson_src_test
56 -}
57 -
58 src_install() {
59 meson_src_install