commit:     106758cb3b8fce1b3ccd47efc2560041c5113bd9
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Mon Feb 23 13:09:01 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb 23 13:11:30 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=106758cb

sys-apps/gawk: don't hang the build with less on failed tests

Bug: https://bugs.gentoo.org/970495
Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/gawk/gawk-5.4.0.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/sys-apps/gawk/gawk-5.4.0.ebuild b/sys-apps/gawk/gawk-5.4.0.ebuild
index 2682721d84e6..d1aa57e09c2a 100644
--- a/sys-apps/gawk/gawk-5.4.0.ebuild
+++ b/sys-apps/gawk/gawk-5.4.0.ebuild
@@ -99,6 +99,13 @@ src_configure() {
        econf "${myeconfargs[@]}"
 }
 
+src_test() {
+       # bug #970495
+       local -x PAGER=cat
+
+       emake check
+}
+
 src_install() {
        # Automatic dodocs barfs
        rm -rf README_d || die

Reply via email to