mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
Use --xfail for Adler32 check in pngtest-all
The test always failed on systems with no support for zlib inflateValidate and on systems where the png_set_option setting was disabled, however pngtest-all succeeded because the failure was ignored. The latter is now fixed so the badadler.png check needs to use --xfail, not --relaxed. Signed-off-by: John Bowler <jbowler@acm.org>
This commit is contained in:
parent
1a0d7a7481
commit
144b348e07
@ -20,7 +20,10 @@ TEST --strict "${srcdir}"/pngtest.png
|
|||||||
# Various crashers
|
# Various crashers
|
||||||
# Use --relaxed because some come from fuzzers that don't maintain CRCs
|
# Use --relaxed because some come from fuzzers that don't maintain CRCs
|
||||||
TEST --relaxed "${srcdir}"/contrib/testpngs/crashers/badcrc.png
|
TEST --relaxed "${srcdir}"/contrib/testpngs/crashers/badcrc.png
|
||||||
TEST --relaxed "${srcdir}"/contrib/testpngs/crashers/badadler.png
|
# Use --xfail because there is no reliable way of disabling these errors
|
||||||
|
# (Adler32 checking cannot be switched off on all builds and there is no
|
||||||
|
# provision for turning the other checks into warnings.)
|
||||||
|
TEST --xfail "${srcdir}"/contrib/testpngs/crashers/badadler.png
|
||||||
TEST --xfail "${srcdir}"/contrib/testpngs/crashers/bad_iCCP.png
|
TEST --xfail "${srcdir}"/contrib/testpngs/crashers/bad_iCCP.png
|
||||||
TEST --xfail "${srcdir}"/contrib/testpngs/crashers/empty_ancillary_chunks.png
|
TEST --xfail "${srcdir}"/contrib/testpngs/crashers/empty_ancillary_chunks.png
|
||||||
for file in "${srcdir}"/contrib/testpngs/crashers/huge_*_chunk.png
|
for file in "${srcdir}"/contrib/testpngs/crashers/huge_*_chunk.png
|
||||||
|
Loading…
x
Reference in New Issue
Block a user