Alien-Build-Plugin-PkgConfig-PPWrapper
view release on metacpan or search on metacpan
6789101112131415161718192021done_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.444 second using v1.01-cache-2.11-cpan-95122f20152 )