1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
use strict;
use warnings;
use Cwd qw( abs_path );
use Test::More;
BEGIN {
plan skip_all =>
'Must set DATETIME_FORMAT_ISO8601_TEST_DEPS to true in order to run these tests'
unless $ENV{DATETIME_FORMAT_ISO8601_TEST_DEPS};
}
use Test::DependentModules qw( test_all_dependents );
local $ENV{PERL_TEST_DM_LOG_DIR} = abs_path('.');
my %exclude = map { $_ => 1 } (
# Tests hit live MetaCPAN and are very slow
'App-RetroPAN',
# undeclared dep on DBD-mysql
'CPAN-Testers-Schema',
# Fails tests out of the box
'Marketplace-Rakuten',
# Generated Makefile doesn't work
'SReview',
);
test_all_dependents(
'DateTime-Format-ISO8601',
{
filter => sub { !$exclude{ $_[0] } }
},
);
|