commit:     d653416679bc345f411f249405f999b4439d1411
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri May  6 05:31:32 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May  6 05:43:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6534166

dev-libs/openssl: run tests for 3.x in parallel

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

 dev-libs/openssl/openssl-3.0.3.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dev-libs/openssl/openssl-3.0.3.ebuild 
b/dev-libs/openssl/openssl-3.0.3.ebuild
index 2ef0aaed3200..22459db77bf3 100644
--- a/dev-libs/openssl/openssl-3.0.3.ebuild
+++ b/dev-libs/openssl/openssl-3.0.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="7"
 
-inherit flag-o-matic linux-info toolchain-funcs multilib-minimal verify-sig
+inherit flag-o-matic linux-info toolchain-funcs multilib-minimal 
multiprocessing verify-sig
 
 MY_P=${P/_/-}
 
@@ -219,11 +219,14 @@ multilib_src_compile() {
        # depend is needed to use $confopts; it also doesn't matter
        # that it's -j1 as the code itself serializes subdirs
        emake -j1 depend
+
        emake all
 }
 
 multilib_src_test() {
-       emake -j1 test
+       # VFP = show subtests verbosely and show failed tests verbosely
+       # Normal V=1 would show everything verbosely but this slows things down.
+       emake HARNESS_JOBS="$(makeopts_jobs)" VFP=1 test
 }
 
 multilib_src_install() {

Reply via email to