Gentoo Logo
Gentoo Spaceship

Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-perl
Lists: gentoo-perl: < Prev By Thread Next > < Prev By Date Next >
To: gentoo-perl@g.o
From: Michael Cummings <mcummings@g.o>
Subject: Re: Test phase [not enabled]
Date: Fri, 5 Aug 2005 12:26:55 -0400
Right now - no. It might be a nice feature to add in a conf file
support later on, but there are a lot of issues with enabling tests.

<begin of long spiel, feel free to bail out on me now>
The problem with globally enabling SRC_TEST="do" (which is what is
missing in the generated ebuilds to finalize the enabling of tests) is
that we don't even do that for ebuilds we do actively maintain. There
are a few reasons for that - some tests are unavoidably interactive;
some are just plain broken; some require conditions we can't provide,
like a db to talk to, an X display to flash on, or an outbound internet
connection. Sadly, not all test sets are created equally. For the 'live'
tree we enable as many as we can, because they can identify potential
problems - but we don't do it for all ebuilds.

The ebuilds generated by g-cpan follow a very generic template with a
few fill in the blanks. There is no way to know in advance (at least via
g-cpan) what you might be dealing with when you enable tests. So,
because g-cpan is supposed to be a generic engine, it doesn't enable
tests, much in the same way it also enables all possible keywords at
once, something we couldn't do in the live tree (not a single pass :)
</ spiel>

Hope that explains it a bit better :)

On Fri, 5 Aug 2005 15:35:30 +0100
Chisel Wright <chisel@...> wrote:

> I've noticed that g-cpan doensn't do "make test".
> Is there something I can toggle/enable/set to make it perform the test
> phase?
gentoo-perl@g.o mailing list

Test phase [not enabled]
-- Chisel Wright
Lists: gentoo-perl: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Test phase [not enabled]
Next by thread:
Request for topics, snippets,advise, etc. (drafting a FAQ)
Previous by date:
Test phase [not enabled]
Next by date:
Request for topics, snippets,advise, etc. (drafting a FAQ)

Updated Jun 17, 2009

Summary: Archive of the gentoo-perl mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.