From: Ricardo SIGNES Date: Tue, 17 Feb 2009 23:27:50 +0000 (+0000) Subject: skip pod tests, do not block install X-Git-Tag: 0_16^0 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=98efc89982b74b594d50f8ef61981d62e2294951;p=gitmo%2FMooseX-Getopt.git skip pod tests, do not block install --- diff --git a/ChangeLog b/ChangeLog index 13b0379..fa314d8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ Revision history for Perl extension MooseX-Getopt +0.16 Tue. February 17 2009 + * t/ + - run pod tests only if RELEASE_TESTING env var is set + 0.15 Sat. July 26 2008 * MooseX::Getopt::OptionTypeMap - Accept type constraint objects in the type mapping, not just names diff --git a/lib/MooseX/Getopt.pm b/lib/MooseX/Getopt.pm index 541706a..d0a8fd7 100644 --- a/lib/MooseX/Getopt.pm +++ b/lib/MooseX/Getopt.pm @@ -11,7 +11,7 @@ use Carp (); use Getopt::Long (); # GLD uses it anyway, doesn't hurt use constant HAVE_GLD => not not eval { require Getopt::Long::Descriptive }; -our $VERSION = '0.15'; +our $VERSION = '0.16'; our $AUTHORITY = 'cpan:STEVAN'; has ARGV => (is => 'rw', isa => 'ArrayRef', metaclass => "NoGetopt"); diff --git a/t/pod.t b/t/pod.t index 4ae1af3..18ba128 100644 --- a/t/pod.t +++ b/t/pod.t @@ -4,6 +4,8 @@ use strict; use warnings; use Test::More; +plan skip_all => 'set RELEASE_TESTING to run these tests' + unless $ENV{RELEASE_TESTING}; eval "use Test::Pod 1.14"; plan skip_all => "Test::Pod 1.14 required for testing POD" if $@; diff --git a/t/pod_coverage.t b/t/pod_coverage.t index 7569358..dbc1603 100644 --- a/t/pod_coverage.t +++ b/t/pod_coverage.t @@ -4,6 +4,8 @@ use strict; use warnings; use Test::More; +plan skip_all => 'set RELEASE_TESTING to run these tests' + unless $ENV{RELEASE_TESTING}; eval "use Test::Pod::Coverage 1.04"; plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage" if $@;