mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00

It is unreliable to run pngtest in parallel, due to competing writes to the same intermediate/output file ("pngout.png"). Customization of this output file name should be possible, but it is currently broken.
17 lines
656 B
Bash
Executable File
17 lines
656 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# normal execution
|
|
|
|
./pngtest --strict ${srcdir}/pngtest.png
|
|
|
|
# various crashers
|
|
# using --relaxed because some come from fuzzers that don't maintain CRC's
|
|
|
|
./pngtest --relaxed ${srcdir}/contrib/testpngs/crashers/badcrc.png
|
|
./pngtest --relaxed ${srcdir}/contrib/testpngs/crashers/badadler.png
|
|
./pngtest --xfail ${srcdir}/contrib/testpngs/crashers/bad_iCCP.png
|
|
./pngtest --xfail ${srcdir}/contrib/testpngs/crashers/empty_ancillary_chunks.png
|
|
./pngtest --xfail ${srcdir}/contrib/testpngs/crashers/huge_*_chunk.png \
|
|
${srcdir}/contrib/testpngs/crashers/huge_*safe_to_copy.png
|
|
./pngtest --xfail ${srcdir}/contrib/testpngs/crashers/huge_IDAT.png
|