Test svgload in make check and on Travis CI
This commit is contained in:
parent
ffa4f6b720
commit
f9dc33c8f2
@ -8,6 +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
|
||||
before_script:
|
||||
- ./bootstrap.sh
|
||||
- ./configure
|
||||
|
0
test/images/blankpage.pdf
Executable file → Normal file
0
test/images/blankpage.pdf
Executable file → Normal file
3
test/images/blankpage.svg
Normal file
3
test/images/blankpage.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg version="1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 595 842">
|
||||
<path stroke="#fff" fill="#fff" d="M0 0h595v842H0z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 137 B |
@ -11,6 +11,10 @@
|
||||
poppler=$test_images/blankpage.pdf
|
||||
poppler_ref=$test_images/blankpage.png
|
||||
|
||||
# rsvg / svgload reference image
|
||||
rsvg=$test_images/blankpage.svg
|
||||
rsvg_ref=$test_images/blankpage.png
|
||||
|
||||
# the matlab image and reference image
|
||||
matlab=$test_images/sample.mat
|
||||
matlab_ref=$test_images/sample.png
|
||||
@ -222,6 +226,10 @@ if test_supported pdfload; then
|
||||
test_loader $poppler_ref $poppler pdfload
|
||||
fi
|
||||
|
||||
if test_supported svgload; then
|
||||
test_loader $rsvg_ref $rsvg svgload
|
||||
fi
|
||||
|
||||
if test_supported matload; then
|
||||
test_loader $matlab_ref $matlab matlab
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user