Bug#536989: dh-make-perl: FTBFS: tests failed

Damyan Ivanov dmn at debian.org
Sat Jul 25 17:30:57 UTC 2009


On Fri, Jul 24, 2009 at 11:45:01AM -0700, Ryan Niebur wrote:
> On Mon, Jul 20, 2009 at 11:47:44AM +0300, Damyan Ivanov wrote:
> > -=| Ryan Niebur, Mon, Jul 20, 2009 at 12:17:46AM -0700 |=-
> > > On Mon, Jul 20, 2009 at 10:00:41AM +0300, Damyan Ivanov wrote:
> > > > 
> > > > I assume (and this worked so far) that each module in 
> > > > /usr/{share,lib}/perl/$version is a core one. If this not true, then 
> > > > we just can't do anything but trust Module::CoreList and t/corelist.t 
> > > > shall be rewritten to simply check a couple of modules we know are 
> > > > core ones instead of going over the directories.

On second thought, I think this is the way to go. The test wanted to
test if the core module detection in dh-make-perl works. Thta
detection heavily relies to Module::CoreList, so a simple test would
work fine. Perhaps adding a negative test about 'Foo::Bar' being core
would suffice to guarantee that there is no a 'return 1' type of
'detection'.





More information about the pkg-perl-maintainers mailing list