summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/ExtUtils/t/build_man.t7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/ExtUtils/t/build_man.t b/lib/ExtUtils/t/build_man.t
index b7ae8bb54b..1b92829156 100644
--- a/lib/ExtUtils/t/build_man.t
+++ b/lib/ExtUtils/t/build_man.t
@@ -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',