libvips/test/test_streams.sh
John Cupitt 99f535c57a add streams.c test
tests VipsStream*u, at a basic level at least.
2019-11-24 18:22:43 +00:00

16 lines
225 B
Bash
Executable File

#!/bin/sh
# test load and save via stream*u
# set -x
set -e
. ./variables.sh
if test_supported jpegload_stream; then
./test_streams $image $tmp/x.png
# test max difference < 10
test_difference $image $tmp/x.png 10
fi