Gentoo Archives: gentoo-perl

From: "Beau E. Cox" <beaucox@×××××××××.com>
To: Gentoo-perl <gentoo-perl@l.g.o>
Subject: [gentoo-perl] Testing modules
Date: Fri, 27 Jan 2006 12:23:21
Message-Id: 200601270222.56921.beaucox@hawaii.rr.com
1 Hi -
2
3 I want to run the 'src_test' routine by default for the
4 40+ ebuilds I have made for the CPAN modules I use. The
5 only way I could figure out how to do it was to make a
6 new eclass (a copy of perl-module) that calls 'src_test'
7 at the end of the 'src_compile' routine. How can I do this
8 in a more *standard* way?
9
10 The docs mention:
11
12 env FEATURES=maketest ebuild XML-Simple-2.14.ebuild test
13
14 Is there any way to set the use flag so this happens
15 automatically? I have tried changing /etc/portage/package.use
16 like this:
17
18 XML-Simple maketest
19
20 but the emerge still says 'test phase not enabled'.
21 I am missing something...
22
23 --
24 Aloha => Beau;
25
26 --
27 gentoo-perl@g.o mailing list

Replies

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