| # Run a sequence of tests quietly, without the slow |
| echo "============ pngvalid-simple.sh ==============" >> pngtest-log.txt |
| echo "Running test-pngvalid-simple.sh" |
| # The options to test are: |
| # standard tests with and without progressive reading and interlace |
| # size images with and without progressive reading |
| # transform tests (standard, non-interlaced only) |
| for opts in "--standard" "--standard --progressive-read" \ |
| "--standard --interlace" "--standard --progressive-read --interlace" \ |
| "--size" "--size --progressive-read" \ |
| if ./pngvalid $opts >> pngtest-log.txt 2>&1 |
| echo " PASS:" pngvalid $opts |
| echo " FAIL:" pngvalid $opts |