travis: Make sure crypto plugins are actually loaded

This commit is contained in:
Tobias Brunner
2019-05-08 14:27:13 +02:00
parent ba817d2917
commit 885c05b0da
+4
View File
@@ -141,6 +141,7 @@ default)
;; ;;
openssl*) openssl*)
CONFIG="--disable-defaults --enable-pki --enable-openssl --enable-pem" CONFIG="--disable-defaults --enable-pki --enable-openssl --enable-pem"
export TESTS_PLUGINS="test-vectors pem openssl!"
DEPS="libssl-dev" DEPS="libssl-dev"
if test "$TEST" != "openssl-1.0"; then if test "$TEST" != "openssl-1.0"; then
DEPS="" DEPS=""
@@ -149,10 +150,12 @@ openssl*)
;; ;;
gcrypt) gcrypt)
CONFIG="--disable-defaults --enable-pki --enable-gcrypt --enable-pkcs1" CONFIG="--disable-defaults --enable-pki --enable-gcrypt --enable-pkcs1"
export TESTS_PLUGINS="test-vectors pkcs1 gcrypt!"
DEPS="libgcrypt11-dev" DEPS="libgcrypt11-dev"
;; ;;
botan) botan)
CONFIG="--disable-defaults --enable-pki --enable-botan --enable-pem" CONFIG="--disable-defaults --enable-pki --enable-botan --enable-pem"
export TESTS_PLUGINS="test-vectors pem botan!"
# we can't use the old package that comes with Ubuntu so we build from # we can't use the old package that comes with Ubuntu so we build from
# the current master until 2.8.0 is released and then probably switch to # the current master until 2.8.0 is released and then probably switch to
# that unless we need newer features (at least 2.7.0 plus PKCS#1 patch is # that unless we need newer features (at least 2.7.0 plus PKCS#1 patch is
@@ -164,6 +167,7 @@ botan)
;; ;;
wolfssl) wolfssl)
CONFIG="--disable-defaults --enable-pki --enable-wolfssl --enable-pem" CONFIG="--disable-defaults --enable-pki --enable-wolfssl --enable-pem"
export TESTS_PLUGINS="test-vectors pem wolfssl!"
# build with custom options to enable all the features the plugin supports # build with custom options to enable all the features the plugin supports
DEPS="" DEPS=""
if test "$1" = "deps"; then if test "$1" = "deps"; then