Skip Menu |

This queue is for tickets about the Bio-Tools-Primer3Redux CPAN distribution.

Report information
The Basics
Id: 68695
Status: resolved
Priority: 0/
Queue: Bio-Tools-Primer3Redux

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.05
Fixed in: (no value)



Subject: test_requires in Build.PL ignored
In your Build.PL I find test_requires => { 'Test::Exception' => 0, 'Test::Warn' => 0 }, I do not believe that test_requires is supported by Module::Build. That should be build_requires. It may be a bug in Module::Build that it does not complain about the unsupported parameter. In any case look into the file _build/prereqs, produced by Build.PL. In my cas it does not contain Test::Exception or Test::Warn at all. This explains why there are so many FAIL reports with "Can't locate Test/Warn.pm..." HTH, Thanks && Regards,
From: cjfields [...] uiuc.edu
On Tue Jun 07 22:04:05 2011, ANDK wrote: Show quoted text
> In your Build.PL I find > > test_requires => { > 'Test::Exception' => 0, > 'Test::Warn' => 0 > }, > > I do not believe that test_requires is supported by Module::Build. That > should be build_requires. > > It may be a bug in Module::Build that it does not complain about the > unsupported parameter. In any case look into the file _build/prereqs, > produced by Build.PL. In my cas it does not contain Test::Exception or > Test::Warn at all. > > This explains why there are so many FAIL reports with "Can't locate > Test/Warn.pm..." > > HTH, Thanks && Regards,
Ah, yes, that makes sense (I recall seeing use of test_requires somewhere, but good to know of this). I have actually switched the req over to Test::Most and pushed it to build_requires. Thanks!
Fixed in release 0.08