summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-01-18 03:18:57 +0000
committerSam James <sam@gentoo.org>2024-01-18 03:19:20 +0000
commitf8c7a1fb1e4b23aa586a544e06e98449021a0535 (patch)
treecf377dba8f20d1930a9059cff448e31cd9d9b534 /dev-build/autoconf
parentsys-devel/bison: run tests in parallel (diff)
downloadgentoo-f8c7a1fb1e4b23aa586a544e06e98449021a0535.tar.gz
gentoo-f8c7a1fb1e4b23aa586a544e06e98449021a0535.tar.bz2
gentoo-f8c7a1fb1e4b23aa586a544e06e98449021a0535.zip
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 <sam@gentoo.org>
Diffstat (limited to 'dev-build/autoconf')
-rw-r--r--dev-build/autoconf/autoconf-2.69-r9.ebuild6
-rw-r--r--dev-build/autoconf/autoconf-2.71-r6.ebuild4
-rw-r--r--dev-build/autoconf/autoconf-2.71-r7.ebuild4
-rw-r--r--dev-build/autoconf/autoconf-2.72-r1.ebuild4
4 files changed, 11 insertions, 7 deletions
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() {