commit:     801ecd609f1eff6e5498280ba0865bc00139e12e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 27 19:25:53 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Nov 27 19:25:55 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=801ecd60

sys-libs/glibc: add ebegin/eend for simple compile test

This makes it easier to see which ABI is being used as it shows
up twice in the log.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-libs/glibc/glibc-9999.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild
index dee2d1b66c49..978e6bb9e6b4 100644
--- a/sys-libs/glibc/glibc-9999.ebuild
+++ b/sys-libs/glibc/glibc-9999.ebuild
@@ -309,9 +309,13 @@ do_run_test() {
                # ignore build failures when installing a binary package #324685
                do_compile_test "" "$@" 2>/dev/null || return 0
        else
+               ebegin "Performing simple compile test for ABI=${ABI}"
                if ! do_compile_test "" "$@" ; then
                        ewarn "Simple build failed ... assuming this is desired 
#324685"
+                       eend 1
                        return 0
+               else
+                       eend 0
                fi
        fi
 

Reply via email to