]> git.saurik.com Git - wxWidgets.git/blob - src/png/test-pngvalid-full.sh
Implement wxComboCtrl::GetSizeFromTextSize().
[wxWidgets.git] / src / png / test-pngvalid-full.sh
1 #!/bin/sh
2 #
3 # Run a sequence of gamma tests quietly
4 err=0
5
6 echo >> pngtest-log.txt
7 echo "============ pngvalid-full.sh ==============" >> pngtest-log.txt
8
9 echo "Running test-pngvalid-full.sh"
10 for gamma in threshold transform sbit 16-to-8 background alpha-mode "transform --expand16" "background --expand16" "alpha-mode --expand16"
11 do
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
19 done
20
21 exit $err