libvips/test/test_descriptors.sh

33 lines
600 B
Bash
Raw Normal View History

#!/bin/sh
# test the various restartable loaders
# webp and ppm use streams, but they mmap the input, so you can't close() the
# fd on minimise
# set -x
set -e
. ./variables.sh
if test_supported jpegload_source; then
./test_descriptors $image
fi
2019-10-06 11:55:19 +02:00
if test_supported pngload_source; then
./test_descriptors $test_images/sample.png
fi
2019-10-07 14:30:19 +02:00
if test_supported tiffload_source; then
./test_descriptors $test_images/sample.tif
2019-10-07 14:30:19 +02:00
fi
if test_supported radload_source; then
./test_descriptors $test_images/sample.hdr
fi
if test_supported svgload_source; then
./test_descriptors $test_images/logo.svg
fi