pnggroup / libpng

LIBPNG: Portable Network Graphics support, official libpng repository
http://libpng.sf.net
Other
1.25k stars 611 forks source link

Relax pngtest-all message testing #531

Closed jbowler closed 7 months ago

jbowler commented 7 months ago

Previously the 'make check' test pngtest-all looked for given messages at EOL. The match failed with Windows/MSYS2 because of the Windows line endings output by pngtest. This changes the test to look for the message anywhere in a line; this might give false matches but the specific messages being searched for are not likely to cause this problem.

jbowler commented 7 months ago

This is a more relaxed version of my previous suggestion. It's probably better to use this if the previous suggestion works given that the error messages are so specific and this is likely to be more reliable.