Amon2

 view release on metacpan or  search on metacpan

xt/06_dependencies.t  view on Meta::CPAN


BEGIN {
    plan skip_all => "AUTHOR_TESTING is required." unless $ENV{AUTHOR_TESTING};
}

use File::Which;
use File::Temp qw(tempdir);

plan skip_all => "No cpanm" unless which('cpanm');

local $ENV{PERL_CPANM_OPT} = '--no-man-pages --no-prompt --no-interactive';

my $tmp = tempdir(CLEANUP => 1);
is(system("cpanm --notest -l $tmp ."), 0);
for (qw(Amon2::Lite Amon2::Auth Amon2::DBI Amon2::MobileJP Amon2::Plugin::L10N)) {
    is(system("cpanm -l $tmp --reinstall $_"), 0, $_);
}

done_testing;



( run in 0.656 second using v1.01-cache-2.11-cpan-6aa56a78535 )