[Chicago-talk] Test recursively in Makefile.PL

Doug Bell madcityzen at gmail.com
Mon Aug 27 11:07:59 PDT 2012


I _was_ hoping it wouldn't come to that (changing dozens of modules to
M::B), but it's far more important to fix the problem. The two XS+C
modules I have can have their tests flattened if they aren't already.

On Aug 27, 2012, at 1:00 PM, Joel Berger <joel.a.berger at gmail.com> wrote:

> I know Module::Build has a recursive_test_files option which would do
> what you want. That doesn't help you with EUMM, but I only know M::B.
> If you need to and wanted to switch I could try to help.
>
> Joel Berger
>
> On Mon, Aug 27, 2012 at 12:50 PM, Doug Bell <madcityzen at gmail.com> wrote:
>> I have a number of projects using ExtUtils::MakeMaker and
>> Module::Install. Everything works great except for testing: Only the
>> top level of t/* gets run as tests, not the sub directories.
>>
>> I've tried specifying the TESTS argument to EUMM as '', but this still
>> doesn't glob the subdirectories (though running "prove -r t/*.t
>> t/**/*.t" works as expected).
>>
>> How do I get make test to recurse into subdirectories?
>> _______________________________________________
>> Chicago-talk mailing list
>> Chicago-talk at pm.org
>> http://mail.pm.org/mailman/listinfo/chicago-talk
> _______________________________________________
> Chicago-talk mailing list
> Chicago-talk at pm.org
> http://mail.pm.org/mailman/listinfo/chicago-talk


More information about the Chicago-talk mailing list