summaryrefslogtreecommitdiff
path: root/Build/source/libs/libpng/libpng-1.6.0/contrib/libtests/test-pngunknown.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/libpng/libpng-1.6.0/contrib/libtests/test-pngunknown.sh')
-rwxr-xr-xBuild/source/libs/libpng/libpng-1.6.0/contrib/libtests/test-pngunknown.sh38
1 files changed, 0 insertions, 38 deletions
diff --git a/Build/source/libs/libpng/libpng-1.6.0/contrib/libtests/test-pngunknown.sh b/Build/source/libs/libpng/libpng-1.6.0/contrib/libtests/test-pngunknown.sh
deleted file mode 100755
index 1a31864aeb9..00000000000
--- a/Build/source/libs/libpng/libpng-1.6.0/contrib/libtests/test-pngunknown.sh
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/sh
-#
-# Run the unknown API tests
-err=0
-image="${srcdir}/pngtest.png"
-#
-# stream 4 is used for the output of the shell, pngtest-log.txt gets all the
-# normal program output.
-exec 4>&1 1>>pngtest-log.txt 2>&1
-
-echo
-echo "============ test-pngunknown.sh =============="
-
-echo "Running test-pngunknown.sh" >&4
-
-for tests in \
- "discard default=discard"\
- "save default=save"\
- "if-safe default=if-safe"\
- "vpAg vpAg=if-safe"\
- "sTER sTER=if-safe"\
- "IDAT default=discard IDAT=save"\
- "sAPI bKGD=save cHRM=save gAMA=save all=discard iCCP=save sBIT=save sRGB=save"
-do
- set $tests
- test="$1"
- shift
-
- if ./pngunknown "$@" "$image" 4>&-
- then
- echo " PASS: test-pngunknown $test" >&4
- else
- echo " FAIL: test-pngunknown $test" >&4
- err=1
- fi
-done
-
-exit $err