diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-02-16 12:52:08 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-02-16 12:52:08 +0000 |
commit | ba31a94de8426c2a253f4ec1286cd887a1d0bdc3 (patch) | |
tree | 05817bb5d8c5ce30e25ff3cdf48e7e1fdffa5364 /Build/source/libs/libpng/libpng-1.6.0/test-pngtest.sh | |
parent | 8cf92aac82ba2a02f0a75066c8eaab462b6fc95d (diff) |
libpng 1.6.0
git-svn-id: svn://tug.org/texlive/trunk@29136 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/libpng/libpng-1.6.0/test-pngtest.sh')
-rwxr-xr-x | Build/source/libs/libpng/libpng-1.6.0/test-pngtest.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Build/source/libs/libpng/libpng-1.6.0/test-pngtest.sh b/Build/source/libs/libpng/libpng-1.6.0/test-pngtest.sh new file mode 100755 index 00000000000..bba128b6319 --- /dev/null +++ b/Build/source/libs/libpng/libpng-1.6.0/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 |