summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-10-16 16:00:40 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-10-16 16:00:40 +0100
commit7f1592d914f244f1c2ab9e4bf84c003131f6d3b8 (patch)
tree7bce2dbb6156f707d739cb9fc044116fe4325dd6 /eclass
parent5a2a5572ac35843b9cd1c9369bd96e117647d24f (diff)
gentoo auto-resync : 16:10:2023 - 16:00:40
Diffstat (limited to 'eclass')
-rw-r--r--eclass/Manifest.gzbin39142 -> 39144 bytes
-rw-r--r--eclass/perl-module.eclass7
2 files changed, 6 insertions, 1 deletions
diff --git a/eclass/Manifest.gz b/eclass/Manifest.gz
index a0edbca353b9..e781dc16fa78 100644
--- a/eclass/Manifest.gz
+++ b/eclass/Manifest.gz
Binary files differ
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass
index 32cd603c7be5..7bb02abed8c5 100644
--- a/eclass/perl-module.eclass
+++ b/eclass/perl-module.eclass
@@ -335,6 +335,7 @@ perl-module_src_test() {
local my_test_control
local my_test_verbose
+ local my_test_makeopts
[[ -n "${DIST_TEST_OVERRIDE}" ]] && ewarn "DIST_TEST_OVERRIDE is set to ${DIST_TEST_OVERRIDE}"
my_test_control=${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}}
@@ -344,6 +345,10 @@ perl-module_src_test() {
return 0
fi
+ if has 'do' ${my_test_control} && ! has 'parallel' ${my_test_control} ; then
+ my_test_makeopts="-j1"
+ fi
+
if has verbose ${my_test_control} ; then
my_test_verbose=1
else
@@ -383,7 +388,7 @@ perl-module_src_test() {
if [[ -f Build ]] ; then
./Build test verbose=${my_test_verbose} || die "test failed"
elif [[ -f Makefile ]] ; then
- emake test TEST_VERBOSE=${my_test_verbose}
+ emake ${my_test_makeopts} test TEST_VERBOSE=${my_test_verbose}
fi
}