The t/read PerlMagick test fails in 6.3.6-2

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:

The t/read PerlMagick test fails in 6.3.6-2

Post by mi »

On FreeBSD/amd64:

Code: Select all

perl t/read.t
1..47
...
Gradient (gradual passing from one shade to another) ...
mean-error=0,168198686124066, maximum-error=1
not ok 9
...
Please, advise. Thanks!
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: The t/read PerlMagick test fails in 6.3.6-2

Post by magick »

Gradients use floating point calculations so we are tolerant of errors up to 1.2. You can safely increase the sensitivity on this test to 0.2, 1.02 so that the test will pass.
User avatar
mi
Posts: 123
Joined: 2005-01-25T14:14:43-07:00
Contact:

Re: The t/read PerlMagick test fails in 6.3.6-2

Post by mi »

magick wrote:Gradients use floating point calculations so we are tolerant of errors up to 1.2. You can safely increase the sensitivity on this test to 0.2, 1.02 so that the test will pass.
Thanks.

Well, if you aren't worried up to 1.2, why are you advising me to use a lower number of 1.02 :D ?

Anyway, please, do put these increases in tolerances into the source tree... Thanks!
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: The t/read PerlMagick test fails in 6.3.6-2

Post by magick »

We have adjusted the tolerances for the 3 tests you posted in the latest ImageMagick SVN.
Post Reply