in reply to MakeMaker and multiple test directories

For the record, the way I ended up tackling this was to create a t/foo.t test that ran all of the sub-tests in t/foo/*.t. This isn't a perfect solution, but I think it's enough for now.
  • Comment on Re: MakeMaker and multiple test directories

Replies are listed 'Best First'.
Re: Re: MakeMaker and multiple test directories
by simonm (Vicar) on Sep 27, 2003 at 22:52 UTC
    Ah-ha!

    It turns out that Regexp::Common has a fix for this in its Makefile.PL:

    my @tests = qw {t/*.t t/*/*.t}; WriteMakefile ( ... test => {TESTS => $^O eq 'MSWin32' ? "@{[map {glob} @tests]}" : "@tests" } );

    That rocks! I plan to incorporate it in the next release of Class::MakeMethods.