From f8c7a1fb1e4b23aa586a544e06e98449021a0535 Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 18 Jan 2024 03:18:57 +0000 Subject: dev-build/autoconf: run tests in parallel Inspired by vapier's cd7f047fe43fb631c4ca6979c6efb5038c616f41. `RUNTESTFLAGS` has been in the back of my head for a while now as I've been meaning to figure out the interaction between it and parallel make and which packages actually need it. This saves about 30m for me(!). Signed-off-by: Sam James --- dev-build/autoconf/autoconf-2.69-r9.ebuild | 6 +++++- dev-build/autoconf/autoconf-2.71-r6.ebuild | 4 ++-- dev-build/autoconf/autoconf-2.71-r7.ebuild | 4 ++-- dev-build/autoconf/autoconf-2.72-r1.ebuild | 4 ++-- 4 files changed, 11 insertions(+), 7 deletions(-) (limited to 'dev-build/autoconf') diff --git a/dev-build/autoconf/autoconf-2.69-r9.ebuild b/dev-build/autoconf/autoconf-2.69-r9.ebuild index 72d2d53b0555..68c89dba765a 100644 --- a/dev-build/autoconf/autoconf-2.69-r9.ebuild +++ b/dev-build/autoconf/autoconf-2.69-r9.ebuild @@ -22,7 +22,7 @@ else BDEPEND="verify-sig? ( sec-keys/openpgp-keys-m4 )" fi -inherit toolchain-autoconf +inherit toolchain-autoconf multiprocessing DESCRIPTION="Used to create autoconfiguration files" HOMEPAGE="https://www.gnu.org/software/autoconf/autoconf.html" @@ -79,3 +79,7 @@ src_prepare() { # We already have an up to date autoconf.info page at this point. touch -r doc/{old_,}autoconf.texi || die } + +src_test() { + emake check TESTSUITEFLAGS="--jobs=$(get_makeopts_jobs)" +} diff --git a/dev-build/autoconf/autoconf-2.71-r6.ebuild b/dev-build/autoconf/autoconf-2.71-r6.ebuild index abc1bad7a693..5897d9792941 100644 --- a/dev-build/autoconf/autoconf-2.71-r6.ebuild +++ b/dev-build/autoconf/autoconf-2.71-r6.ebuild @@ -21,7 +21,7 @@ else S="${WORKDIR}"/${MY_P} fi -inherit toolchain-autoconf +inherit toolchain-autoconf multiprocessing DESCRIPTION="Used to create autoconfiguration files" HOMEPAGE="https://www.gnu.org/software/autoconf/autoconf.html" @@ -74,7 +74,7 @@ src_prepare() { } src_test() { - emake check + emake check TESTSUITEFLAGS="--jobs=$(get_makeopts_jobs)" } src_install() { diff --git a/dev-build/autoconf/autoconf-2.71-r7.ebuild b/dev-build/autoconf/autoconf-2.71-r7.ebuild index 71d2b138b8b8..2672d89b27e9 100644 --- a/dev-build/autoconf/autoconf-2.71-r7.ebuild +++ b/dev-build/autoconf/autoconf-2.71-r7.ebuild @@ -30,7 +30,7 @@ else BDEPEND="verify-sig? ( sec-keys/openpgp-keys-zackweinberg )" fi -inherit toolchain-autoconf +inherit toolchain-autoconf multiprocessing DESCRIPTION="Used to create autoconfiguration files" HOMEPAGE="https://www.gnu.org/software/autoconf/autoconf.html" @@ -89,7 +89,7 @@ src_prepare() { } src_test() { - emake check + emake check TESTSUITEFLAGS="--jobs=$(get_makeopts_jobs)" } src_install() { diff --git a/dev-build/autoconf/autoconf-2.72-r1.ebuild b/dev-build/autoconf/autoconf-2.72-r1.ebuild index 0fff9c205426..7cace3e2a34a 100644 --- a/dev-build/autoconf/autoconf-2.72-r1.ebuild +++ b/dev-build/autoconf/autoconf-2.72-r1.ebuild @@ -35,7 +35,7 @@ else BDEPEND="verify-sig? ( sec-keys/openpgp-keys-zackweinberg )" fi -inherit toolchain-autoconf +inherit toolchain-autoconf multiprocessing DESCRIPTION="Used to create autoconfiguration files" HOMEPAGE="https://www.gnu.org/software/autoconf/autoconf.html" @@ -83,7 +83,7 @@ src_prepare() { } src_test() { - emake check + emake check TESTSUITEFLAGS="--jobs=$(get_makeopts_jobs)" } src_install() { -- cgit v1.2.3-65-gdbad