source: rtems-graphics-toolkit/libpng-1.5.12/test-pngvalid-simple.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: 800 bytes
Line 
1#!/bin/sh
2#
3# Run a sequence of tests quietly, without the slow
4# gamma tests
5err=0
6
7echo >> pngtest-log.txt
8echo "============ pngvalid-simple.sh ==============" >> pngtest-log.txt
9echo "Running test-pngvalid-simple.sh"
10# The options to test are:
11#
12# standard tests with and without progressive reading and interlace
13# size images with and without progressive reading
14# transform tests (standard, non-interlaced only)
15#
16for opts in "--standard" "--standard --progressive-read" \
17   "--standard --interlace" "--standard --progressive-read --interlace" \
18   "--size" "--size --progressive-read" \
19   "--transform"
20do
21   if ./pngvalid "$@" $opts >> pngtest-log.txt 2>&1
22   then
23      echo "  PASS: pngvalid" "$@" $opts
24   else
25      echo "  FAIL: pngvalid" "$@" $opts
26      err=1
27   fi
28done
29
30exit $err
Note: See TracBrowser for help on using the repository browser.