On Sat, 2007-12-01 at 09:49 -0800, Bill Moseley wrote:
> Not sure Module::Install does anything with those recommended modules,
> though. ;)
MI (with EUAI, I think) will prompt you to install optional dependencies
if you specify them like this:
feature ('Description of optional feature', [
On Sat, Dec 01, 2007 at 10:29:22AM -0600, Jonathan Rockway wrote:
>
> On Sat, 2007-12-01 at 06:51 -0800, Bill Moseley wrote:
> > Any ideas on how to add a "make test-exclude-recommends" to Makefile.PL to
> > make that easier?
>
> Add something like this to Makefile.PL
>
> my @RECOMMENDS = qw/.
> On Fri, 30 Nov 2007 06:08:19 -0800, Bill Moseley <[EMAIL PROTECTED]> said:
> t/10-Field-DateTime.t 255 6528016 12 11-16
> t/10-Field-DateTimeManip.t 255 6528016 12 11-16
> /10-Field-DateTime...# Looks like you planned 16 tests but only ran
10.
> dubious
On Sat, Dec 01, 2007 at 01:38:35AM +0100, A. Pagaltzis wrote:
> plan eval { require Net::CIDR }
> ? tests=> 6
> : skip_all => 'failed to load Net::CIDR';
This is what I ended up doing (didn't check if I'm reinventing the
wheel). Instead of "use Test::More" I'm doing:
On Sat, 2007-12-01 at 06:51 -0800, Bill Moseley wrote:
> Any ideas on how to add a "make test-exclude-recommends" to Makefile.PL to
> make that easier?
Add something like this to Makefile.PL
my @RECOMMENDS = qw/.../
requires $_ for @RECOMMENDS; # or whatever
sub MY::postamble {
my $op
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.nnt
* Bill Moseley <[EMAIL PROTECTED]> [2007-11-30 18:15]:
> On Fri, Nov 30, 2007 at 04:15:59PM +, David Cantrell wrote:
> > I only looked at one of 'em, but in t/10-Field-CIDR_List.t,
> > you declare that you're going to run 6 tests, and then you
> > either run 6 tests or you skip *7* tests.
>
>
On Fri, Nov 30, 2007 at 09:38:23AM -0800, Bill Moseley wrote:
> On Fri, Nov 30, 2007 at 05:26:19PM +, David Cantrell wrote:
> > Changing the topic somewhat, a really good module for pretending that
> > various modules don't exist is Devel::Hide. The -from:children switch
> > will even hide mod
On Fri, Nov 30, 2007 at 05:26:19PM +, David Cantrell wrote:
> On Fri, Nov 30, 2007 at 09:12:59AM -0800, Bill Moseley wrote:
>
> > Yes, that was a bit more obvious. I must have removed a test and then
> > not forced it to run without that module loaded again.
>
> Changing the topic somewhat,
On Fri, Nov 30, 2007 at 04:15:59PM +, David Cantrell wrote:
> On Fri, Nov 30, 2007 at 06:08:19AM -0800, Bill Moseley wrote:
>
> > I'm receiving a lot of test failures, but I'm not able to reproduce on
> > the machines I have access to. I'm hoping someone can help spot my
> > error.
> >
> > Th
On Fri, Nov 30, 2007 at 09:12:59AM -0800, Bill Moseley wrote:
> Yes, that was a bit more obvious. I must have removed a test and then
> not forced it to run without that module loaded again.
Changing the topic somewhat, a really good module for pretending that
various modules don't exist is Deve
It is possible to use no_plan to run any number of tests ;)
-Original Message-
From: David Cantrell [mailto:[EMAIL PROTECTED]
Sent: Friday, November 30, 2007 6:16 PM
To: Bill Moseley
Cc: module-authors@perl.org
Subject: Re: Help with Test Failures
On Fri, Nov 30, 2007 at 06:08:19AM
On Fri, Nov 30, 2007 at 06:08:19AM -0800, Bill Moseley wrote:
> I'm receiving a lot of test failures, but I'm not able to reproduce on
> the machines I have access to. I'm hoping someone can help spot my
> error.
>
> The bulk cpan testser fail with on a DateTime test:
There is no "the bulk cpan
13 matches
Mail list logo