GNU bug report logs - #57691
29.0.50; image-tests failures

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Fri, 9 Sep 2022 06:27:02 UTC

Severity: normal

Found in version 29.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #32 received at 57691 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: 57691 <at> debbugs.gnu.org
Subject: Re: bug#57691: 29.0.50; image-tests failures
Date: Sat, 10 Sep 2022 09:07:20 +0300
> From: Stefan Kangas <stefankangas <at> gmail.com>
> Date: Fri, 9 Sep 2022 18:37:20 -0400
> Cc: 57691 <at> debbugs.gnu.org
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > What does that test check? why does it want to see the delay?
> 
> It used to just check that no metadata was returned for these images.
> Then Lars changed the GIF and WebP loading code to always add a `delay',
> so I adapted the tests to that.

Is it important to verify that the 'delay' stuff is in metadata?  If
not, how about just removing that part of the test?

> > The native APIs support animated GIFs better than with libgif, so
> > artificially making changes of the delay for the single benefit of
> > running this test is not the best idea, IMO.
> 
> Gotcha.  So it sounds like we should leave that alone, and adapt the
> test to Windows instead.
> 
> Does the below workaround make sense?  That way, at least we test
> something.

I'd rather we skipped the test if w32-use-native-image-API is non-nil.
That's because my expectations are that once Emacs 29 hits the street,
people will stop building Emacs on Windows with libgif (and a few
other image libraries which the native APIs can replace), so setting
the variable to nil will probably mean you'd need to check
image-type-available-p again etc.  That sounds like an unnecessary
complication.

And once again, perhaps that part of the test should simply be
removed, as I don't see why we'd need to verify the metadata.

Thanks.




This bug report was last modified 2 years and 329 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.