Martin Hosken <[EMAIL PROTECTED]> writes:
> Dear srezic,
>
> > t/fret..........
> > # Failed test at t/fret.t line 8.
> > # Looks like you failed 1 test of 1.
> >
>
> When the test fails a file testfont.pdf is left in t/ can you send it to
> me and I'll see what minor difference has slipped through this time. BTW
> it's very unlikely there's a bug in the program just in the test.
> Getting PDFs to be absolutely identical is hard work.
The sizes are slightly different:
$ ls -al t/testfont.pdf t/base/testfont.pdf
-rw-r--r-- 1 cpansand cpansand 35940 Nov 22 06:01 t/base/testfont.pdf
-rw-rw-r-- 1 cpansand cpansand 35938 Nov 22 22:57 t/testfont.pdf
I see that the contents are compressed. I guess that zlib (or
whatever is involved in the compression) does not create the same
output on every platform (for example, I have a 64bit machine) or
between different zlib versions. Maybe it would be a viable
alternative to compare uncompressed PDFs, if that is possible?
Another problem is that you're using "perl" for running the script.
You should rather use $^X.
Regards,
Slaven
--
Slaven Rezic - slaven <at> rezic <dot> de
Berlin Perl Mongers - http://berlin.pm.org