summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@chromium.org>2024-01-17 20:51:48 -0500
committerMike Frysinger <vapier@gentoo.org>2024-01-17 20:52:22 -0500
commitcd7f047fe43fb631c4ca6979c6efb5038c616f41 (patch)
treef6ba3e9b8f1a23ba5538a9751cd467e1001f15f9 /dev-build
parentdev-libs/libltdl: add RESTRICT=test (diff)
downloadgentoo-cd7f047fe43fb631c4ca6979c6efb5038c616f41.tar.gz
gentoo-cd7f047fe43fb631c4ca6979c6efb5038c616f41.tar.bz2
gentoo-cd7f047fe43fb631c4ca6979c6efb5038c616f41.zip
dev-build/libtool: run tests in parallel
Signed-off-by: Mike Frysinger <vapier@chromium.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'dev-build')
-rw-r--r--dev-build/libtool/libtool-2.4.7-r2.ebuild6
-rw-r--r--dev-build/libtool/libtool-9999.ebuild6
2 files changed, 10 insertions, 2 deletions
diff --git a/dev-build/libtool/libtool-2.4.7-r2.ebuild b/dev-build/libtool/libtool-2.4.7-r2.ebuild
index ec3be9b992e0..16ed5d62e18f 100644
--- a/dev-build/libtool/libtool-2.4.7-r2.ebuild
+++ b/dev-build/libtool/libtool-2.4.7-r2.ebuild
@@ -8,7 +8,7 @@ EAPI=7
# bug #225559
LIBTOOLIZE="true"
WANT_LIBTOOL="none"
-inherit autotools prefix
+inherit autotools prefix multiprocessing
if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="https://git.savannah.gnu.org/git/libtool.git"
@@ -109,6 +109,10 @@ src_configure() {
ECONF_SOURCE="${S}" econf ${myconf} --disable-ltdl-install
}
+src_test() {
+ emake check TESTSUITEFLAGS="--jobs=$(get_makeopts_jobs)"
+}
+
src_install() {
default
diff --git a/dev-build/libtool/libtool-9999.ebuild b/dev-build/libtool/libtool-9999.ebuild
index 5a5d4b118ef9..e5ecf26e0972 100644
--- a/dev-build/libtool/libtool-9999.ebuild
+++ b/dev-build/libtool/libtool-9999.ebuild
@@ -8,7 +8,7 @@ EAPI=7
# bug #225559
LIBTOOLIZE="true"
WANT_LIBTOOL="none"
-inherit autotools prefix
+inherit autotools prefix multiprocessing
if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="https://git.savannah.gnu.org/git/libtool.git"
@@ -107,6 +107,10 @@ src_configure() {
ECONF_SOURCE="${S}" econf ${myconf} --disable-ltdl-install
}
+src_test() {
+ emake check TESTSUITEFLAGS="--jobs=$(get_makeopts_jobs)"
+}
+
src_install() {
default