You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2011/05/18 05:03:55 UTC

[lucy-commits] svn commit: r1104672 - /incubator/lucy/trunk/perl/t/binding/801-pod_checker.t

Author: marvin
Date: Wed May 18 03:03:55 2011
New Revision: 1104672

URL: http://svn.apache.org/viewvc?rev=1104672&view=rev
Log:
Only run the POD tests on Perl 5.10 or above.

Modified:
    incubator/lucy/trunk/perl/t/binding/801-pod_checker.t

Modified: incubator/lucy/trunk/perl/t/binding/801-pod_checker.t
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/perl/t/binding/801-pod_checker.t?rev=1104672&r1=1104671&r2=1104672&view=diff
==============================================================================
--- incubator/lucy/trunk/perl/t/binding/801-pod_checker.t (original)
+++ incubator/lucy/trunk/perl/t/binding/801-pod_checker.t Wed May 18 03:03:55 2011
@@ -16,8 +16,16 @@
 use strict;
 use warnings;
 
-use Test::More 'no_plan';
+use Test::More;
 use Pod::Checker;
+BEGIN {
+    if ( $] < 5.010 ) {
+        plan( 'skip_all', "Old Pod::Checker is buggy" );
+    }
+    else {
+        plan('no_plan');
+    }
+}
 
 use File::Find qw( find );