commit: d56838a33779350ac14d687b220e4ba3f44ceb37
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 11 00:07:38 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jun 11 00:07:49 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d56838a3
dev-libs/libnl: make tests verbose
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/libnl/libnl-3.9.0.ebuild | 11 +++++++++++
dev-libs/libnl/libnl-9999.ebuild | 11 +++++++++++
2 files changed, 22 insertions(+)
diff --git a/dev-libs/libnl/libnl-3.9.0.ebuild
b/dev-libs/libnl/libnl-3.9.0.ebuild
index c1977e5ebeaa..cd91ab04a015 100644
--- a/dev-libs/libnl/libnl-3.9.0.ebuild
+++ b/dev-libs/libnl/libnl-3.9.0.ebuild
@@ -96,6 +96,17 @@ multilib_src_compile() {
fi
}
+multilib_src_test() {
+ CK_VERBOSITY=verbose emake check VERBOSE=1
+
+ if multilib_is_native_abi && use python ; then
+ pushd python > /dev/null || die
+ # TODO: run python/tests/test-create-bridge.py
+ distutils-r1_src_test
+ popd > /dev/null || die
+ fi
+}
+
multilib_src_install() {
default
diff --git a/dev-libs/libnl/libnl-9999.ebuild b/dev-libs/libnl/libnl-9999.ebuild
index 1f693f3fcd9b..65afdf1df751 100644
--- a/dev-libs/libnl/libnl-9999.ebuild
+++ b/dev-libs/libnl/libnl-9999.ebuild
@@ -96,6 +96,17 @@ multilib_src_compile() {
fi
}
+multilib_src_test() {
+ CK_VERBOSITY=verbose emake check VERBOSE=1
+
+ if multilib_is_native_abi && use python ; then
+ pushd python > /dev/null || die
+ # TODO: run python/tests/test-create-bridge.py
+ distutils-r1_src_test
+ popd > /dev/null || die
+ fi
+}
+
multilib_src_install() {
default