develooper Front page | perl.module-authors | Postings from June 2008

Re: "Maintainer mode"

Thread Previous | Thread Next
From:
Jonathan Rockway
Date:
June 11, 2008 09:57
Subject:
Re: "Maintainer mode"
Message ID:
87tzfz7vv2.fsf@bar.jrock.us
* On Wed, Jun 11 2008, Hans Dieter Pearcey wrote:
> On Wed, Jun 11, 2008 at 12:31:00PM -0400, Eric Roode wrote:
>> I thought "xt" was for author tests.  What means "xt/author"??
>
> No, xt is for 'extra tests'.
>
> xt/author  -- run when testing as an author
> xt/release -- run these right before you release, only
> xt/smoke   -- run these only for automated testing

Maybe the subdirectory name should be a string containing code to
execute to determine whether or not to run the contained tests.  For
example:

  xt/$ENV{PAUSE_ID} eq 'JROCKWAY'/pod_coverage.t
  xt/!-e 'META.yml'/prerelease.t

For extra kwalitee, don't forget to use strict and warnings:

  xt/use strict; use warnings; $ENV{PAUSE_ID} eq 'JROCKWAY'/pod_coverage.t
  xt/use strict; use warnings; !-e 'META.yml'/prerelease.t

Yes, I'm kidding. :)

Regards,
Jonathan Rockway

-- 
print just => another => perl => hacker => if $,=$"

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About