To ease maintenance and improve reliability of pkcs11-provider
external test we only want it to run with kryoptic token.
Signed-off-by: Ondrej Moris <omoris@redhat.com>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27602)
$ make
pkcs11-provider requires meson for the build process. Moreover, it requires
-softhsm and nss softokn tokens and certtool, certutil, pkcs11-tool and expect
-to run the tests.
+kryoptic, opensc and expect to run the tests.
Tests will then be run as part of the rest of the suite, or can be
explicitly run (with more debugging):
echo "------------------------------------------------------------------"
# The OpenSSL app uses ${HARNESS_OSSL_PREFIX} as a prefix for its standard output
-HARNESS_OSSL_PREFIX= meson test -C $PKCS11_PROVIDER_BUILDDIR
+# For maintenance reasons and simplicity we only run test with kryoptic token
+HARNESS_OSSL_PREFIX= meson test -C $PKCS11_PROVIDER_BUILDDIR --suite=kryoptic
if [ $? -ne 0 ]; then
cat $PKCS11_PROVIDER_BUILDDIR/meson-logs/testlog.txt