Skip unreliable tests regardless of chosen crypto backend

epel9 imports/e9/rust-sequoia-openpgp-1.17.0-2.el9
Fabio Valentini 1 year ago
parent 7d6a598539
commit 7338db49a6
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

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

Loading…
Cancel
Save