in reply to Configuring Catalyst's Makefile.PL?
The default Makefile.PL that is supplied uses inc::Module::Install which is just a thin wrapper around Module::Install. There was some promising-looking but highly misleading code in Module::Install::Makefile. When I got past that, it turns out that I seem to be getting the default behaviour from ExtUtils::MakeMaker. Which is to run everything of the form t/*.t, and to also execute a file called test.pl if one exists.
My solution was therefore to create a file called test.pl that looks like this:
Ugly and hackish, but it works.# Run all of the tests below the lib directory. exec(qw(prove --lib lib --recurse lib));
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Configuring Catalyst's Makefile.PL?
by ysth (Canon) on Mar 23, 2009 at 03:12 UTC | |
by tilly (Archbishop) on Mar 23, 2009 at 04:11 UTC | |
|
Re^2: Configuring Catalyst's Makefile.PL?
by Your Mother (Archbishop) on Mar 23, 2009 at 03:13 UTC |