On Sun, Jul 06, 2003 at 01:02:12PM +0100, Fergal Daly wrote: > [EMAIL PROTECTED]:> perl Makefile.PL > Writing Makefile for Test::Deep > You tried to run a test without a plan! Gotta have a plan. at > /usr/lib/perl5/5.8.0/Test/NoWarnings.pm line 99 > END failed--call queue aborted. > # Looks like your test died before it could output anything. > > It loads the module so it can see $VERSION, then it does lots of MakeMaker > stuff and finally END block test kicks in and runs a test when we're not > really testing at all. > > I thought about checking whether a plan had been made and if not then skipping > the test but I don't like that.
If you do that, this becomes a problem: use Test::More; use Test::NoWarnings; plan tests => 42; You can only run the test if import() is called (ie. use vs require). That should give an out. -- If your module passes test You're one of the very best Don't fuck up the MANIFEST Burma-Shave - ignatz