summaryrefslogtreecommitdiff
path: root/tests/pngstest-sRGB-alpha
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@acm.org>2015-09-25 12:21:10 -0700
committerJohn Bowler <jbowler@acm.org>2015-09-25 12:41:56 -0700
commitfa5ba2e0263969a27144ff1e5a083c7f7e54f698 (patch)
tree0c306389dc8c9e5a2734e52946421854551a42bf /tests/pngstest-sRGB-alpha
parent01a0e8062debca08cc6a2105ec7fa02261acc551 (diff)
downloadlibpng-fa5ba2e0263969a27144ff1e5a083c7f7e54f698.tar.gz
New test PNG files incorporated into make check
tests/pngstest-* are changed so that the new test files are divided into 8 groups by gamma and alpha channel. This makes each test take just under 5 seconds on a moderately up-to-date x86_64 system using libpng16 (test times are somewhat variable under libpng17 at present because of the lack of optimization in some gamma processing paths.) These tests have considerably better code and pixel-value coverage than contrib/pngsuite however coverage is still incomplete. Signed-off-by: John Bowler <jbowler@acm.org>
Diffstat (limited to 'tests/pngstest-sRGB-alpha')
-rwxr-xr-xtests/pngstest-sRGB-alpha2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/pngstest-sRGB-alpha b/tests/pngstest-sRGB-alpha
new file mode 100755
index 000000000..f1e57d339
--- /dev/null
+++ b/tests/pngstest-sRGB-alpha
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec "${srcdir}/tests/pngstest" sRGB alpha