From 0fcc4171c1b50860da16c1da614e6e3b3adad9c3 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sat, 24 May 2025 04:06:34 +0100 Subject: [PATCH] media-sound/gbsplay: test improvements * Add a comment on --without-test (it controls running tests during the build) * Run tests verbosely and respect CC too Signed-off-by: Sam James --- media-sound/gbsplay/gbsplay-0.0.94-r1.ebuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/media-sound/gbsplay/gbsplay-0.0.94-r1.ebuild b/media-sound/gbsplay/gbsplay-0.0.94-r1.ebuild index db3b94923d8c8..a5d404cf4aecb 100644 --- a/media-sound/gbsplay/gbsplay-0.0.94-r1.ebuild +++ b/media-sound/gbsplay/gbsplay-0.0.94-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -48,8 +48,10 @@ src_configure() { --mandir=/usr/share/man --docdir=/usr/share/doc/${PF} --disable-hardening - --without-xmmsplugin + # This controls running tests during the build, they + # are still runnable in src_test with --without-test. --without-test + --without-xmmsplugin $(use_enable alsa) $(use_enable nas) $(use_enable nls i18n) @@ -65,6 +67,10 @@ src_compile() { emake CC="$(tc-getCC)" SPLINT="true" V=1 } +src_test() { + emake CC="$(tc-getCC)" SPLINT="true" V=1 test +} + src_install() { remove_disabled_locale() { rm -r "${D}"/usr/share/locale/$1 || die