in reply to MakeMaker and multiple test directories
as a parameter. You can set it to whatever, and the resulting makefile executes something liketest => { TESTS => 't/*.t' },
which may or may not agree with various shells (which have their own limits). I suggest you do kinda like Mail::Box does, and have a simple test.pl, one which uses Test::Harness to run the various test files in any way you please. Actually, something like the following is better:C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, ' +blib\lib', 'blib\arch')" t\001_load.t ...
Combine that with test => { TESTS => 'test.pl' }, and you've got gold ;)#!/usr/bin/perl # file: test.pl use ExtUtils::Command::MM; @ARGV = qw[ mytests/01-load-This.t ... ]; test_harness( $ENV{TEST_VERBOSE} || 0, 'blib\lib', 'blib\arch');
| MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!" | |
| I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README). | |
| ** The third rule of perl club is a statement of fact: pod is sexy. |
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: MakeMaker and multiple test directories
by chromatic (Archbishop) on Jul 21, 2003 at 23:40 UTC | |
by PodMaster (Abbot) on Jul 22, 2003 at 01:59 UTC | |
by chromatic (Archbishop) on Jul 22, 2003 at 02:43 UTC | |
by PodMaster (Abbot) on Jul 22, 2003 at 02:52 UTC |