[Moose-commits] r7712 - in MooseX-Getopt/trunk: . lib/MooseX t

rjbs at code2.0beta.co.uk rjbs at code2.0beta.co.uk
Tue Feb 17 23:27:50 GMT 2009


Author: rjbs
Date: 2009-02-17 15:27:50 -0800 (Tue, 17 Feb 2009)
New Revision: 7712

Modified:
   MooseX-Getopt/trunk/ChangeLog
   MooseX-Getopt/trunk/lib/MooseX/Getopt.pm
   MooseX-Getopt/trunk/t/pod.t
   MooseX-Getopt/trunk/t/pod_coverage.t
Log:
skip pod tests, do not block install

Modified: MooseX-Getopt/trunk/ChangeLog
===================================================================
--- MooseX-Getopt/trunk/ChangeLog	2009-02-17 15:42:23 UTC (rev 7711)
+++ MooseX-Getopt/trunk/ChangeLog	2009-02-17 23:27:50 UTC (rev 7712)
@@ -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

Modified: MooseX-Getopt/trunk/lib/MooseX/Getopt.pm
===================================================================
--- MooseX-Getopt/trunk/lib/MooseX/Getopt.pm	2009-02-17 15:42:23 UTC (rev 7711)
+++ MooseX-Getopt/trunk/lib/MooseX/Getopt.pm	2009-02-17 23:27:50 UTC (rev 7712)
@@ -11,7 +11,7 @@
 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");

Modified: MooseX-Getopt/trunk/t/pod.t
===================================================================
--- MooseX-Getopt/trunk/t/pod.t	2009-02-17 15:42:23 UTC (rev 7711)
+++ MooseX-Getopt/trunk/t/pod.t	2009-02-17 23:27:50 UTC (rev 7712)
@@ -4,6 +4,8 @@
 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 $@;

Modified: MooseX-Getopt/trunk/t/pod_coverage.t
===================================================================
--- MooseX-Getopt/trunk/t/pod_coverage.t	2009-02-17 15:42:23 UTC (rev 7711)
+++ MooseX-Getopt/trunk/t/pod_coverage.t	2009-02-17 23:27:50 UTC (rev 7712)
@@ -4,6 +4,8 @@
 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 $@;




More information about the Moose-commits mailing list