From: Kent Fredric Date: Fri, 11 Jan 2019 10:00:22 +0000 (+1300) Subject: dev-perl/DBI: Workaround test failures with -jx w/ x > 70 bug #675164 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=da0ca02d4d009136cf90dacb4c9fa8d07c41df28;p=gentoo.git dev-perl/DBI: Workaround test failures with -jx w/ x > 70 bug #675164 Bug: https://bugs.gentoo.org/675164 Package-Manager: Portage-2.3.55, Repoman-2.3.12 Signed-off-by: Kent Fredric --- diff --git a/dev-perl/DBI/DBI-1.637.0.ebuild b/dev-perl/DBI/DBI-1.637.0.ebuild index 70e87656bcea..1676a747a16d 100644 --- a/dev-perl/DBI/DBI-1.637.0.ebuild +++ b/dev-perl/DBI/DBI-1.637.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -27,6 +27,10 @@ DEPEND="${RDEPEND} ) " src_test() { + if [[ $(makeopts_jobs) -gt 70 ]]; then + einfo "Reducing jobs to 70. Bug: https://bugs.gentoo.org/675164" + MAKEOPTS="${MAKEOPTS} -j70"; + fi perl_rm_files t/pod-coverage.t t/pod.t perl-module_src_test }