|
|
|
@ -224,11 +224,11 @@ use the "openssl-sys" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
|
%check
|
|
|
|
|
# * skip tests that are not reliable:
|
|
|
|
|
# https://gitlab.com/sequoia-pgp/sequoia/-/issues/1064
|
|
|
|
|
# * run tests with the Nettle crypto backend (default)
|
|
|
|
|
%cargo_test -n -f crypto-nettle,compression
|
|
|
|
|
%cargo_test -n -f crypto-nettle,compression -- -- --skip leak_tests
|
|
|
|
|
# * run tests with the OpenSSL crypto backend
|
|
|
|
|
# * skip tests that are not reliable with OpenSSL:
|
|
|
|
|
# https://gitlab.com/sequoia-pgp/sequoia/-/issues/1064
|
|
|
|
|
%cargo_test -n -f crypto-openssl,compression -- -- --skip leak_tests
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|