libvips/test/test_descriptors.sh

24 lines
406 B
Bash
Raw Normal View History

#!/bin/sh
# test the various restartable loaders
# webp uses streans, but it needs to mmap the input, so you can't close() the
# fd on minimise
# set -x
set -e
. ./variables.sh
if test_supported jpegload; then
./test_descriptors $image
fi
2019-10-06 11:55:19 +02:00
if test_supported pngload; then
./test_descriptors $test_images/sample.png
fi
2019-10-07 14:30:19 +02:00
if test_supported tiffload; then
./test_descriptors $test_images/sample.tif
2019-10-07 14:30:19 +02:00
fi