Test gifload in make check and on Travis CI

This commit is contained in:
Felix Bünemann 2016-05-27 01:25:35 +02:00
parent f9dc33c8f2
commit fdeb1b3b12
3 changed files with 9 additions and 1 deletions

View File

@ -8,7 +8,7 @@ before_install:
- sudo apt-get install swig libmagick++-dev bc
- sudo apt-get install libcfitsio3-dev libgsl0-dev libmatio-dev
- sudo apt-get install liborc-0.4-dev liblcms2-dev libpoppler-glib-dev
- sudo apt-get install librsvg2-dev
- sudo apt-get install librsvg2-dev libgif-dev
before_script:
- ./bootstrap.sh
- ./configure

BIN
test/images/trans-x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 436 B

View File

@ -15,6 +15,10 @@ poppler_ref=$test_images/blankpage.png
rsvg=$test_images/blankpage.svg
rsvg_ref=$test_images/blankpage.png
# giflib / gifload reference image
giflib=$test_images/trans-x.gif
giflib_ref=$test_images/trans-x.png
# the matlab image and reference image
matlab=$test_images/sample.mat
matlab_ref=$test_images/sample.png
@ -230,6 +234,10 @@ if test_supported svgload; then
test_loader $rsvg_ref $rsvg svgload
fi
if test_supported gifload; then
test_loader $giflib_ref $giflib gifload
fi
if test_supported matload; then
test_loader $matlab_ref $matlab matlab
fi