diff options
Diffstat (limited to 'Build/source/libs/libpng/libpng-1.5.12/test-pngtest.sh')
-rwxr-xr-x | Build/source/libs/libpng/libpng-1.5.12/test-pngtest.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Build/source/libs/libpng/libpng-1.5.12/test-pngtest.sh b/Build/source/libs/libpng/libpng-1.5.12/test-pngtest.sh new file mode 100755 index 00000000000..bba128b6319 --- /dev/null +++ b/Build/source/libs/libpng/libpng-1.5.12/test-pngtest.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +echo "Running tests. For details see pngtest-log.txt" + +echo "============ pngtest pngtest.png ==============" > pngtest-log.txt + +echo "Running test-pngtest.sh" +if ./pngtest --strict ${srcdir}/pngtest.png >> pngtest-log.txt 2>&1 +then + echo " PASS: pngtest --strict pngtest.png" + err=0 +else + echo " FAIL: pngtest --strict pngtest.png" + err=1 +fi +exit $err |