summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-04-15 20:15:39 +0000
committerMike Frysinger <vapier@gentoo.org>2012-04-15 20:15:39 +0000
commit629d22bccca838c8deb778ca672102c09eee4db9 (patch)
treec7e6c6c75ce13ec2349aab5fba26a1d5e0320874 /eclass/perl-module.eclass
parentUse new makeopts_jobs helper from eutils.eclass. (diff)
downloadgentoo-2-629d22bccca838c8deb778ca672102c09eee4db9.tar.gz
gentoo-2-629d22bccca838c8deb778ca672102c09eee4db9.tar.bz2
gentoo-2-629d22bccca838c8deb778ca672102c09eee4db9.zip
Use new makeopts_jobs helper from eutils.eclass.
Diffstat (limited to 'eclass/perl-module.eclass')
-rw-r--r--eclass/perl-module.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass
index 040207851857..eeb16cfd1f59 100644
--- a/eclass/perl-module.eclass
+++ b/eclass/perl-module.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.131 2011/08/22 04:46:32 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.132 2012/04/15 20:15:39 vapier Exp $
# @ECLASS: perl-module.eclass
# @MAINTAINER:
@@ -197,8 +197,8 @@ perl-module_src_test() {
debug-print-function $FUNCNAME "$@"
if has 'do' ${SRC_TEST} || has 'parallel' ${SRC_TEST} ; then
if has "${TEST_VERBOSE:-0}" 0 && has 'parallel' ${SRC_TEST} ; then
- export HARNESS_OPTIONS=j$(echo -j1 ${MAKEOPTS} | sed -r "s/.*(-j\s*|--jobs=)([0-9]+).*/\2/" )
- einfo "Test::Harness Jobs=${HARNESS_OPTIONS}"
+ export HARNESS_OPTIONS=j$(makeopts_jobs)
+ einfo "Test::Harness Jobs=$(makeopts_jobs)"
fi
${perlinfo_done} || perl_set_version
if [[ -f Build ]] ; then