source: rtems-graphics-toolkit/libpng-1.5.12/test-pngvalid-full.sh @ 1cb4ff2

Last change on this file since 1cb4ff2 was 1cb4ff2, checked in by Alexandru-Sever Horin <alex.sever.h@…>, on 08/06/12 at 11:43:44

Added libpng-1.5.12 update.

  • Property mode set to 100755
File size: 549 bytes
Line 
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
Note: See TracBrowser for help on using the repository browser.