]> git.saurik.com Git - wxWidgets.git/blame - src/png/test-pngvalid-full.sh
Interface fixes for Phoenix
[wxWidgets.git] / src / png / test-pngvalid-full.sh
CommitLineData
72281370
DS
1#!/bin/sh
2#
3# Run a sequence of gamma tests quietly
4err=0
5
6echo >> pngtest-log.txt
7echo "============ pngvalid-full.sh ==============" >> pngtest-log.txt
8
9echo "Running test-pngvalid-full.sh"
10for gamma in threshold transform sbit 16-to-8 background alpha-mode "transform --expand16" "background --expand16" "alpha-mode --expand16"
11do
12 if ./pngvalid "$@" --gamma-$gamma >> pngtest-log.txt 2>&1
13 then
14 echo " PASS: pngvalid" "$@" "--gamma-$gamma"
15 else
16 echo " FAIL: pngvalid" "$@" "--gamma-$gamma"
17 err=1
18 fi
19done
20
21exit $err