Recurring test-failures -- most annoying

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
User avatar
mi
Posts: 123
Joined: 2005-01-25T14:14:43-07:00
Contact:

Recurring test-failures -- most annoying

Post by mi »

Code: Select all

perl t/filter.t
...
Modulate(brightness=>110,saturation=>110,hue=>110) ...
  mean-error=0,00462525641117487, maximum-error=0,298039215686275
not ok 31
...
I'm certain, this is just another one of those "Oh, it's Ok, just bump the tolerance up a bit" kind of things.

What's annoying is that the test includes the maximum error ever observed by the developers, instead of the maximum acceptable value for the tolerance...
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Recurring test-failures -- most annoying

Post by magick »

The problem you reported is fixed in ImageMagick 6.3.6-5 Beta. Thanks.
User avatar
mi
Posts: 123
Joined: 2005-01-25T14:14:43-07:00
Contact:

Re: Recurring test-failures -- most annoying

Post by mi »

magick wrote:The problem you reported is fixed in ImageMagick 6.3.6-5 Beta. Thanks.
Could I have a patch meanwhile, please? Thanks!
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Recurring test-failures -- most annoying

Post by magick »

in PerlMagick/t/filter.t, change 0.004 to 0.005:
  • testFilterCompare('input.miff', q//, 'reference/filter/Modulate.miff', 'Modulate', q/brightness=>110,saturation=>110,hue=>110/, 0.005, 0.4);
We keep the tolerance tight because we are testing a new resampling algorithm and we need to know if any variation is introduced by expected floating point error or a problem within the algorithm.
Post Reply