Update of /cvsroot/module-build/Module-Build/t
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32633/t
Modified Files:
manifypods.t
Log Message:
Create a manpage_support feature
Index: manifypods.t
===================================================================
RCS file: /cvsroot/module-build/Module-Build/t/manifypods.t,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** manifypods.t 21 Jan 2004 04:49:57 -0000 1.8
--- manifypods.t 28 Nov 2004 02:36:04 -0000 1.9
***************
*** 5,14 ****
use File::Spec;
use File::Path qw( rmtree );
-
use Test;
- BEGIN { plan tests => 21 }
-
use Module::Build;
my $start = Module::Build->cwd;
my $install = File::Spec->catdir( $start, 't', '_tmp' );
--- 5,18 ----
use File::Spec;
use File::Path qw( rmtree );
use Test;
use Module::Build;
+ BEGIN {
+ require File::Spec->catfile('t', 'common.pl');
+ skip_test("manpage_support feature is not enabled")
+ unless Module::Build->current->feature('manpage_support');
+ plan tests => 21;
+ }
+
my $start = Module::Build->cwd;
my $install = File::Spec->catdir( $start, 't', '_tmp' );
|