From 4c4745b05a90742b564fef0714e66aec98e415f2 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sun, 20 Mar 2022 16:07:56 -0700 Subject: [PATCH] net-nds/openldap: make src_test run parallel tests Signed-off-by: Robin H. Johnson --- 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 62f91410a2339..7af43ba480d19 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 }