Skip Menu |

This queue is for tickets about the Module-Install CPAN distribution.

Report information
The Basics
Id: 76074
Status: new
Priority: 0/
Queue: Module-Install

People
Owner: Nobody in particular
Requestors: grousse [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.06
Fixed in: (no value)



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;