installman3dir is null
Robin Barker [Tue, 21 Nov 2006 16:48:35 +0000 (16:48 +0000)]
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <2C2E01334A940D4792B3E115F95B7226120ABE@exchsvr1.npl.ad.local>

p4raw-id: //depot/perl@29357

lib/ExtUtils/t/build_man.t

index b7ae8bb..1b92829 100644 (file)
@@ -36,7 +36,12 @@ ok( chdir 'Big-Dummy', "chdir'd to Big-Dummy" ) ||
 
 ok( my $stdout = tie *STDOUT, 'TieOut' );
 
-{
+SKIP: {
+    use Config;
+    skip ("installman3dir is null", 1)
+       if !$Config{installman3dir} or
+           $Config{installman3dir} !~ /\S/ or
+           $Config{installman3dir} eq 'none';
     my $mm = WriteMakefile(
         NAME            => 'Big::Dummy',
         VERSION_FROM    => 'lib/Big/Dummy.pm',