in reply to Re^12: Do Pure Perl CPAN packages really need to use ExtUtils::Command::MM?
in thread Do Pure Perl CPAN packages really need to use ExtUtils::Command::MM?
This does the unwantedmodule-starter --eumm --module=TestPL --author=name --email=emai +l cd TestPL wget http://cpansearch.perl.org/src/EVO/Class-MakeMethods-1.01/test.pl perl Makefile.PL && nmake test
which is why you rename t to tests, so that only test.pl gets run.C:\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, ' +blib\lib', 'blib\arch')" t/*.t C:\perl\bin\perl.exe "-Iblib\lib" "-Iblib\arch" test.pl
If you add test => { TESTS => 'test.pl' }, you get No plan found in TAP output, which is not surprising, since test.pl runs its own harness, so there is nothing for the other harness to consume.
You don't want to run test.pl through a harness, test.pl is the harness.
Do you see what I see?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^14: Do Pure Perl CPAN packages really need to use ExtUtils::Command::MM?
by ELISHEVA (Prior) on Feb 25, 2011 at 01:06 UTC | |
by Anonymous Monk on Feb 25, 2011 at 02:32 UTC |