Bug#839992: libmath-quaternion-perl: autopkgtest failure: not ok 48 - rotation_angle works

Santiago Vila sanvila at unex.es
Thu Jan 26 18:54:07 UTC 2017


On Thu, Jan 26, 2017 at 07:47:39PM +0100, gregor herrmann wrote:
> On Thu, 26 Jan 2017 00:43:49 +0100, Santiago Vila wrote:
> 
> > > my $exponent = int rand 100;
> > > my $q1manual = $q1;
> > > for (1..($exponent-1))  { $q1manual = Math::Quaternion::multiply($q1,$q1manual); }
> > > 
> > > 'int rand 100' returns results between 0 and 99, and with 0 and 1,
> > > the for loop is not run.
> > 
> > So it fails deliberately once every 50 times?
> 
> I'm skeptical that it fails on purpose.

I mean that once that we (not the author) know why it fails, not
fixing it is almost as letting it fail deliberately.

> > > Ok, after applying the proposed patch from CPAN RT, I don't get this
> > > problem anymore, and I now also get the failures we're seeing on
> > > ci.d.n.
> > 
> > Would be possible to apply the patch for stretch?
> 
> Since it only fixes part of the problem I'm afraid that wouldn't be
> so useful.

I guess it will depend on how often does the other problem happen.
Does it happen more than 1 in 50 times or a lot less?

Thanks.



More information about the pkg-perl-maintainers mailing list