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 <sam@gentoo.org>
This commit is contained in:
Sam James 2025-05-24 04:06:34 +01:00
parent 99785a80e0
commit 0fcc4171c1
No known key found for this signature in database
GPG Key ID: 738409F520DF9190

View File

@ -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 # Distributed under the terms of the GNU General Public License v2
EAPI=8 EAPI=8
@ -48,8 +48,10 @@ src_configure() {
--mandir=/usr/share/man --mandir=/usr/share/man
--docdir=/usr/share/doc/${PF} --docdir=/usr/share/doc/${PF}
--disable-hardening --disable-hardening
--without-xmmsplugin # This controls running tests during the build, they
# are still runnable in src_test with --without-test.
--without-test --without-test
--without-xmmsplugin
$(use_enable alsa) $(use_enable alsa)
$(use_enable nas) $(use_enable nas)
$(use_enable nls i18n) $(use_enable nls i18n)
@ -65,6 +67,10 @@ src_compile() {
emake CC="$(tc-getCC)" SPLINT="true" V=1 emake CC="$(tc-getCC)" SPLINT="true" V=1
} }
src_test() {
emake CC="$(tc-getCC)" SPLINT="true" V=1 test
}
src_install() { src_install() {
remove_disabled_locale() { remove_disabled_locale() {
rm -r "${D}"/usr/share/locale/$1 || die rm -r "${D}"/usr/share/locale/$1 || die