Re: require modules for make test

2009-01-26 Thread Jonathan Yu
Hi there: I'm not sure if this will help you, but I use build_requires (and Module::Build) - it seems to do the trick for me. For the author tests, I put them in 'recommended'. It's worth noting that the team that packages Perl modules for Debian moves all requirements to basically "build_require

Re: require modules for make test

2009-01-25 Thread Bill Moseley
On Sat, Jan 24, 2009 at 10:27:29AM -0800, Bill Moseley wrote: > Currently, we have a rather simple approach: > > ( eval { require Test::More } and ( $Test::More::VERSION >= 0.62 ) ) > or push @fails, 'Test::More 0.62'; Hum, after looking at that I replaced it with: # Let Perl

require modules for make test

2009-01-24 Thread Bill Moseley
We have a Makefile.PL that uses Module::Install. We use "requires" to check for dependencies required to *run* the application. But, there are other modules required to run the test suite. Module::Install has a "test_requires" which would seem perfect, but using test_requires still results in th