2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-06-12 15:12:22 +00:00

Add image comparison tests to CI build

This commit is contained in:
Jay Berkenbilt 2021-05-08 09:30:23 -04:00
parent b152b3c9a9
commit f80ec45672

View File

@ -3,10 +3,11 @@ set -ex
sudo apt-get update sudo apt-get update
sudo apt-get -y install \ sudo apt-get -y install \
autoconf build-essential zlib1g-dev libjpeg-dev libgnutls28-dev \ autoconf build-essential zlib1g-dev libjpeg-dev libgnutls28-dev \
libssl-dev docbook-xsl fop xsltproc libxml2-utils inkscape imagemagick libssl-dev docbook-xsl fop xsltproc libxml2-utils inkscape imagemagick \
libtiff-tools ghostscript
./configure --enable-werror --enable-doc-maintenance \ ./configure --enable-werror --enable-doc-maintenance \
--enable-crypto-native --enable-crypto-openssl --enable-crypto-gnutls \ --enable-crypto-native --enable-crypto-openssl --enable-crypto-gnutls \
--enable-show-failed-test-output --enable-show-failed-test-output --enable-test-compare-images
make -j$(nproc) -k make -j$(nproc) -k
for i in $(./qpdf/build/qpdf --show-crypto); do for i in $(./qpdf/build/qpdf --show-crypto); do
echo "*** Running tests with crypto provider $i" echo "*** Running tests with crypto provider $i"