From 70b8c41f46ee723f9fa216f619bf927a0319bda5 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Tue, 5 Nov 2019 21:31:56 -0500 Subject: Run all crypto providers in CI for Linux and sanitizer builds --- azure-pipelines/test-sanitizers | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'azure-pipelines/test-sanitizers') diff --git a/azure-pipelines/test-sanitizers b/azure-pipelines/test-sanitizers index 507b73ed..f20fc4b3 100755 --- a/azure-pipelines/test-sanitizers +++ b/azure-pipelines/test-sanitizers @@ -2,11 +2,15 @@ set -e sudo apt-get update sudo apt-get -y install \ - autoconf build-essential zlib1g-dev libjpeg-dev + autoconf build-essential zlib1g-dev libjpeg-dev libgnutls28-dev ./configure \ CFLAGS="-fsanitize=address -fsanitize=undefined -g" \ CXXFLAGS="-fsanitize=address -fsanitize=undefined -g" \ LDFLAGS="-fsanitize=address -fsanitize=undefined" \ + --enable-crypto-native --enable-crypto-gnutls \ --enable-werror --disable-shared --enable-show-failed-test-output make -j$(nproc) -k -make -k check +for i in $(./qpdf/build/qpdf --show-crypto); do + echo "*** Running tests with crypto provider $i" + env QPDF_CRYPTO_PROVIDER=$i make -k check +done -- cgit v1.2.3-54-g00ecf