commit: 0fcc4171c1b50860da16c1da614e6e3b3adad9c3
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 24 03:06:34 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 24 03:06:34 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fcc4171
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 <AT> gentoo.org>
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 db3b94923d8c..a5d404cf4aec 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