Gentoo Archives: gentoo-perl

From: "Beau E. Cox" <beaucox@×××××××××.com>
To: gentoo-perl@l.g.o, gentoo-perl@g.o
Subject: Re: [gentoo-perl] Testing modules
Date: Fri, 27 Jan 2006 13:44:30
Message-Id: 200601270343.29975.beaucox@hawaii.rr.com
In Reply to: Re: [gentoo-perl] Testing modules by Yuval Yaari
On Friday 27 January 2006 02:30 am, Yuval Yaari wrote:
> Beau E. Cox wrote: > > Hi - > > > > I want to run the 'src_test' routine by default for the > > 40+ ebuilds I have made for the CPAN modules I use. The > > only way I could figure out how to do it was to make a > > new eclass (a copy of perl-module) that calls 'src_test' > > at the end of the 'src_compile' routine. How can I do this > > in a more *standard* way? > > > > The docs mention: > > > > env FEATURES=maketest ebuild XML-Simple-2.14.ebuild test > > > > Is there any way to set the use flag so this happens > > automatically? I have tried changing /etc/portage/package.use > > like this: > > > > XML-Simple maketest > > > > but the emerge still says 'test phase not enabled'. > > I am missing something... > > Yup, you're missing something; maketest is not a USE flag. > I think it's: > echo dev-perl/XML-Simple maketest >> /etc/portage/package.features
Thanks Yuval - but I tried it and sill get 'test phase not enabled'
> > HTH, > > --Yuval
-- Aloha => Beau; -- gentoo-perl@g.o mailing list

Replies

Subject Author
Re: [gentoo-perl] Testing modules Yuval Yaari <yyuval@××××××××××.com>
Re: [gentoo-perl] Testing modules Michael Cummings <mcummings@g.o>