mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
Avoid random test failures by running pngtest sequentially only
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.
This commit is contained in:
16
tests/pngtest-all
Executable file
16
tests/pngtest-all
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user