diff options
Diffstat (limited to 'cpan/Test-Simple/t/dependents.t')
-rw-r--r-- | cpan/Test-Simple/t/dependents.t | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpan/Test-Simple/t/dependents.t b/cpan/Test-Simple/t/dependents.t index 64efca1cd4..6699212b63 100644 --- a/cpan/Test-Simple/t/dependents.t +++ b/cpan/Test-Simple/t/dependents.t @@ -11,6 +11,7 @@ BEGIN { plan skip_all => "Dependents only tested when releasing" unless $ENV{PERL_RELEASING}; } +require File::Spec; use CPAN; CPAN::HandleConfig->load; @@ -24,6 +25,7 @@ my @Modules = qw( Test::Class Test::Deep Test::Differences + Test::NoWarnings ); # Modules which are known to be broken @@ -34,6 +36,7 @@ my %Broken = map { $_ => 1 } qw( TODO: for my $name (@ARGV ? @ARGV : @Modules) { local $TODO = "$name known to be broken" if $Broken{$name}; + local $ENV{PERL5LIB} = File::Spec->rel2abs("blib/lib"); my $module = CPAN::Shell->expand("Module", $name); $module->test; ok( !$module->distribution->{make_test}->failed, $name ); |