Author: dagolden
Date: Mon Dec 7 16:59:47 2009
New Revision: 13650
Modified:
Module-Build/trunk/t/ppm.t
Log:
protect against missing Pod::HTML in PPM tests
Modified: Module-Build/trunk/t/ppm.t
==============================================================================
--- Module-Build/trunk/t/ppm.t (original)
+++ Module-Build/trunk/t/ppm.t Mon Dec 7 16:59:47 2009
@@ -18,6 +18,8 @@
plan skip_all => 'No compiler found';
} elsif ( !$Config{usedl} ) {
plan skip_all => 'Perl not compiled for dynamic loading'
+ } elsif ( ! eval {require Pod::HTML} ) {
+ plan skip_all => "Pod::HTML not installed";
} elsif ( ! eval {require Archive::Tar} ) {
plan skip_all => "Archive::Tar not installed to read archives.";
} elsif ( ! eval {IO::Zlib->VERSION(1.01)} ) {