/[gentoo-x86]/eclass/perl-module.eclass
Gentoo

Diff of /eclass/perl-module.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.131 Revision 1.132
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.131 2011/08/22 04:46:32 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.132 2012/04/15 20:15:39 vapier Exp $
4 4
5# @ECLASS: perl-module.eclass 5# @ECLASS: perl-module.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# perl@gentoo.org 7# perl@gentoo.org
8# @AUTHOR: 8# @AUTHOR:
195 195
196perl-module_src_test() { 196perl-module_src_test() {
197 debug-print-function $FUNCNAME "$@" 197 debug-print-function $FUNCNAME "$@"
198 if has 'do' ${SRC_TEST} || has 'parallel' ${SRC_TEST} ; then 198 if has 'do' ${SRC_TEST} || has 'parallel' ${SRC_TEST} ; then
199 if has "${TEST_VERBOSE:-0}" 0 && has 'parallel' ${SRC_TEST} ; then 199 if has "${TEST_VERBOSE:-0}" 0 && has 'parallel' ${SRC_TEST} ; then
200 export HARNESS_OPTIONS=j$(echo -j1 ${MAKEOPTS} | sed -r "s/.*(-j\s*|--jobs=)([0-9]+).*/\2/" ) 200 export HARNESS_OPTIONS=j$(makeopts_jobs)
201 einfo "Test::Harness Jobs=${HARNESS_OPTIONS}" 201 einfo "Test::Harness Jobs=$(makeopts_jobs)"
202 fi 202 fi
203 ${perlinfo_done} || perl_set_version 203 ${perlinfo_done} || perl_set_version
204 if [[ -f Build ]] ; then 204 if [[ -f Build ]] ; then
205 ./Build test verbose=${TEST_VERBOSE:-0} || die "test failed" 205 ./Build test verbose=${TEST_VERBOSE:-0} || die "test failed"
206 elif [[ -f Makefile ]] ; then 206 elif [[ -f Makefile ]] ; then

Legend:
Removed from v.1.131  
changed lines
  Added in v.1.132

  ViewVC Help
Powered by ViewVC 1.1.20