ASPEER-MakeMaker-Markdown-Pod
view release on metacpan or search on metacpan
t/05-mm-integration.t view on Meta::CPAN
'executable retains its declared filename');
ok(!-e 'bin/sample', 'extensionless executable is not created implicitly');
unlike($makefile, qr/lib\/Sample\.pm\.md\s+blib\//,
'Markdown sidecar excluded from install map');
like($makefile, qr/'LICENSE'\s+'\$\(INST_LIBDIR\)/,
'license file included in install map');
if (length($git_sha)) {
is(slurp('lib/Sample.pm.sha'), "$git_sha\n", 'Git-SHA provenance generated');
like($makefile, qr/lib\/Sample\.pm\.sha/, 'Git-SHA provenance included in install map');
utime(1000000000, 1000000000, 'lib/Sample.pm.sha') ||
die "unable to set Git-SHA fixture timestamp, $!";
}
else {
ok(!-e 'lib/Sample.pm.sha', 'Git-SHA generation skipped outside a checkout');
pass('Git-SHA install-map test skipped outside a checkout');
}
# Exercise the generated target rather than calling its implementation directly
#
my $make=$Config{'make'} || 'make';
( run in 0.737 second using v1.01-cache-2.11-cpan-234fa220139 )