On Thu, Feb 08, 2007 at 09:26:01AM +0000, Nik Clayton wrote:
> [ I vaguely recall a discussion about this, but my search-fu is weak, and I
> can't find it ]
>
> Is there a standard way/idiom to get ExtUtils::MakeMaker to support tests
> in subdirectories of t/?
>
> I've got a bunch of tests, and rather than client-ls.t, client-add.t,
> client-commit.t, etc, I'd like t/client/ls.t, t/client/add.t,
> t/client/commit.t, and so on.
I have this in one of my Makefile.PLs, which seems to be just about what you
are looking for:
WriteMakefile
(
...
test => { TESTS => "t/*/*.t" },
...
);
--
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net