Subject: | Module::AutoInstall breaks given makemakers args |
As illustrated by the following testcase, just adding auto_install()
function call to Makefile.PL is enough to have the explicit list of test
files given to Makemaker reduced to default value t/*.t only.
Tracing the execution a little bit shows than
Module::Install::AutoInstall (from perl tree) line 66 calls
Module::AutoInstall::_make_args() functions without args, causing the
test in line 811 to automatically use default value instead:
$args{test}{TESTS} ||= 't/*.t';
Subject: | Makefile.PL |
use inc::Module::Install;
name 'foo';
version '1.0';
makemaker_args(
test => {
TESTS => join ' ', map { glob } qw(t/*.t t/*/*.t)
},
);
auto_install();
WriteAll;