commit:     4efd4cbe4ce902fdf3cb1d5dba76c93d47e9cbbb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 31 01:25:49 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 31 01:28:47 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4efd4cbe

sys-fs/e2fsprogs: run tests for non-native ABI in new merged -libs ebuild

Bug: https://bugs.gentoo.org/806875
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-fs/e2fsprogs/e2fsprogs-1.46.4-r50.ebuild | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/sys-fs/e2fsprogs/e2fsprogs-1.46.4-r50.ebuild 
b/sys-fs/e2fsprogs/e2fsprogs-1.46.4-r50.ebuild
index 328bca250b3..6eb62630726 100644
--- a/sys-fs/e2fsprogs/e2fsprogs-1.46.4-r50.ebuild
+++ b/sys-fs/e2fsprogs/e2fsprogs-1.46.4-r50.ebuild
@@ -129,6 +129,16 @@ multilib_src_compile() {
        fi
 }
 
+multilib_src_test() {
+       if multilib_is_native_abi ; then
+               emake V=1 check
+       else
+               # For non-native, there's no binaries to test. Just libraries.
+               emake -C lib/et V=1 check
+               emake -C lib/ss V=1 check
+       fi
+}
+
 multilib_src_install() {
        if ! multilib_is_native_abi || ! use tools ; then
                emake -C lib/et V=1 DESTDIR="${D}" install

Reply via email to