commit:     4c4745b05a90742b564fef0714e66aec98e415f2
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 20 23:07:56 2022 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sun Mar 20 23:08:52 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c4745b0

net-nds/openldap: make src_test run parallel tests

Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>

 net-nds/openldap/openldap-2.6.1.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/net-nds/openldap/openldap-2.6.1.ebuild 
b/net-nds/openldap/openldap-2.6.1.ebuild
index 62f91410a233..7af43ba480d1 100644
--- a/net-nds/openldap/openldap-2.6.1.ebuild
+++ b/net-nds/openldap/openldap-2.6.1.ebuild
@@ -608,7 +608,15 @@ multilib_src_compile() {
 
 multilib_src_test() {
        if multilib_is_native_abi; then
-               emake test
+               cd "tests"
+               pwd
+               # emake test => runs only lloadd & mdb, in serial; skips 
ldif,sql,wt,regression
+               # emake partests => runs ALL of the tests in parallel
+               # wt/WiredTiger is not supported in Gentoo
+               TESTS=( plloadd pmdb )
+               #TESTS+=( pldif ) # not done by default, so also exclude here
+               #use odbc && TESTS+=( psql ) # not done by default, so also 
exclude here
+               emake "${TESTS[@]}"
        fi
 }
 

Reply via email to