]>
Commit | Line | Data |
---|---|---|
1 | #!/bin/sh | |
2 | ||
3 | echo "Running tests. For details see pngtest-log.txt" | |
4 | ||
5 | echo "============ pngtest pngtest.png ==============" > pngtest-log.txt | |
6 | ||
7 | echo "Running test-pngtest.sh" | |
8 | if ./pngtest --strict ${srcdir}/pngtest.png >> pngtest-log.txt 2>&1 | |
9 | then | |
10 | echo " PASS: pngtest --strict pngtest.png" | |
11 | err=0 | |
12 | else | |
13 | echo " FAIL: pngtest --strict pngtest.png" | |
14 | err=1 | |
15 | fi | |
16 | exit $err |