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
Navigation:
Lists: gentoo-perl: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-perl@g.o
From: Yuval Yaari <yyuval@...>
Subject: Re: Testing modules
Date: Fri, 27 Jan 2006 16:13:01 +0200
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Beau E. Cox wrote:
<blockquote cite="mid200601270343.29975.beaucox@..."
 type="cite">
  <pre wrap="">On Friday 27 January 2006 02:30 am, Yuval Yaari wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Beau E. Cox wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">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...
      </pre>
    </blockquote>
    <pre wrap="">Yup, you're missing something; maketest is not a USE flag.
I think it's:
echo dev-perl/XML-Simple maketest &gt;&gt; /etc/portage/package.features
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Thanks Yuval - but I tried it and sill get 'test phase not enabled'</pre>
</blockquote>
<br>
Sorry, I've been using this:<br>
<a class="moz-txt-link-freetext" href="http://forums.gentoo.org/viewtopic.php?t=280748">http://forums.gentoo.org/viewtopic.php?t=280748</a><br>
<br>
So either use it, too, or set the global FEATURES in /etc/make.conf<br>
<br>
I'm sorry I can't think of anything better ;-)<br>
<br>
&nbsp; --Yuval<br>
</body>
</html>
References:
Testing modules
-- Beau E. Cox
Re: Testing modules
-- Yuval Yaari
Re: Testing modules
-- Beau E. Cox
Navigation:
Lists: gentoo-perl: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Testing modules
Next by thread:
Re: Testing modules
Previous by date:
Autoreply: Re: Testing modules
Next by date:
Autoreply: Re: Testing modules


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.