On Sat, Dec 01, 2007 at 02:17:49PM +0100, Andreas J. Koenig wrote:
> ok 10 # SKIP Skipped: Failed to load DateTime::Format::DateManip module
> # Looks like you planned 16 tests but only ran 10.

I guess in hindsight it's a bit obvious, but from the cpan tester's
runs I only saw:

    http://www.nntp.perl.org/group/perl.cpan.testers/2007/11/msg821740.html

    t/10-Field-DateTime...........# Looks like you planned 16 tests but only 
ran 10.
    dubious
            Test returned status 255 (wstat 65280, 0xff00)

It would be helpful to know that DateTime was not installed.  Always
running with TEST_VERBOSE might be a bit noisy, but maybe only output
the verbose on failing tests would be helpful.


Thanks for the tips from A. Pagaltzis and David Cantrell.
Specifically:

    plan eval { require Net::CIDR }
        ? tests    => 6
        : skip_all => 'failed to load Net::CIDR';

and

  $ perl Makefile.PL
  $ make
  $ make test
    [the tests run with all the optional modules installed]
  $ perl -MDevel::Hide=-from:children,Module1,Module2,Module3,... \
      'exec("make test")'
    [the tests run without Module1, Module2 etc]


Any ideas on how to add a "make test-exclude-recommends" to Makefile.PL to
make that easier?

-- 
Bill Moseley
[EMAIL PROTECTED]

Reply via email to