[cairo] ghostcript-8.54 causes most cairo-1.2.6 ps surface tests to fail

Gary V. Vaughan cairo at mlists.thewrittenword.com
Tue Jan 23 16:01:46 PST 2007


On Tue, Jan 23, 2007 at 12:05:28PM -0500, Behdad Esfahbod wrote:
> On Mon, 2007-01-22 at 19:20 -0500, Gary V. Vaughan wrote:
> > Now that I'm running ghostscript-8.54 instead of ghostscript-8.16
> > on my build machine, I notice that the output of many of the
> > postscript surface tests are rendered a little differently, which
> > causes them to fail 11 of 98 tests (with  --disable-pdf to isolate
> > them from the previous test failures I reported).
> 
> You can also just test the PS surface by saying:
> 
>   make check TARGETS=ps

Unfortunately when I use that option I also get an additional 6 spurious
test failures :-(  I've attached the log of that too incase it is a new
bug.

> > Maybe it's just a matter of being a little more lenient with the
> > number of pixels allowed in the diff?
> 
> Probably.  Except for text ones I guess.  Check the failure logs to see
> what's the largest pixel difference.  Though, I'm not sure that we still
> write out that number now that we use pdiff.
> 
> > I can post specific examples if you don't have access to both
> > ghostscript-8.16 and ghostscript-8.54.
> 
> That may help.

Okay, I'm attaching a log of 'make check' using 8.16 to show that things
are basically working, as well as the same log again only using
ghostscript-8.54. I'm also attaching the the *-ps-*out.p{s,ng} files for
failed tests in the latter tests.

I used this script to collect the failed test output:

  for file in *ps*diff*png; do
     f1=`echo $file|sed 's,-diff\.png$,-out.ps,'`
     if test -f $f1; then
       echo $f1
     else
       echo $file|sed 's,-diff\.,-out.,'
     fi
  done

Hope that helps tracking down a way to allow use of gs-8.54 with the
cairo tests.

Cheers,
	Gary
-- 
Gary V. Vaughan (gary at thewrittenword.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ,,sai-cairo-1.2.6-ghostscript-8.16-ps-surface-only.log.bz2
Type: application/octet-stream
Size: 5129 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20070123/f96ba937/sai-cairo-1.2.6-ghostscript-8.16-ps-surface-only.log-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ,,sai-cairo-1.2.6-ghostscript-8.16.log.bz2
Type: application/octet-stream
Size: 6510 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20070123/f96ba937/sai-cairo-1.2.6-ghostscript-8.16.log-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ,,sai-cairo-1.2.6-ghostscript-8.54.log.bz2
Type: application/octet-stream
Size: 6730 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20070123/f96ba937/sai-cairo-1.2.6-ghostscript-8.54.log-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ,,sai-cairo-1.2.6-ghostscript-8.54-failed-test-output.tar.bz2
Type: application/octet-stream
Size: 119378 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20070123/f96ba937/sai-cairo-1.2.6-ghostscript-8.54-failed-test-output.tar-0001.obj


More information about the cairo mailing list