Alien-Build-Plugin-Download-GitHub
view release on metacpan or search on metacpan
done_testing;
sub require_ok ($)
{
# special case of when I really do want require_ok.
# I just want a test that checks that the modules
# will compile okay. I won't be trying to use them.
my($mod) = @_;
my $ctx = context();
eval qq{ require $mod };
my $error = $@;
my $ok = !$error;
$ctx->ok($ok, "require $mod");
$ctx->diag("error: $error") if $error ne '';
$ctx->release;
}
( run in 0.248 second using v1.01-cache-2.11-cpan-65fba6d93b7 )