test: reduce the scope of pkcs11-provider external test
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)
This commit is contained in:
parent
031b4b7c25
commit
edd3f47fd7
@ -132,8 +132,7 @@ Then configure/build OpenSSL enabling external tests:
|
||||
$ 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):
|
||||
|
@ -64,7 +64,8 @@ echo "Running tests"
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user