diff --git a/rust-sequoia-sq.spec b/rust-sequoia-sq.spec index e05b84a..c8c663f 100644 --- a/rust-sequoia-sq.spec +++ b/rust-sequoia-sq.spec @@ -154,27 +154,7 @@ install -Dpm 0644 target/release/build/%{crate}-*/out/shell-completions/_sq \ %if %{with check} %check -# * skip tests that require files which are not included in published crates -# * skip tests that fail because the Fedora crypto policy is too strict -%{cargo_test -- -- --exact %{shrink: - --skip cli::cert::export::sq_cert_export - --skip cli::cert::import::sq_cert_import - --skip cli::inspect::sq_inspect - --skip cli::key::expire::sq_key_expire - --skip cli::key::sq_key_import - --skip cli::key::sq_key_list - --skip cli::pki::sq_pki_authenticate - --skip cli::pki::sq_pki_identify - --skip cli::pki::sq_pki_list - --skip cli::pki::sq_pki_lookup - --skip cli::pki::sq_pki_path - --skip integration::sq_sign::sq_sign - --skip integration::sq_sign::sq_sign_append - --skip integration::sq_sign::sq_sign_append_on_compress_then_sign - --skip integration::sq_sign::sq_sign_detached - --skip integration::sq_sign::sq_sign_detached_append - --skip integration::sq_sign::sq_sign_with_notations -}} +%cargo_test %endif %changelog diff --git a/rust2rpm.toml b/rust2rpm.toml index 003afb2..8a22fe7 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -30,31 +30,3 @@ install.post = [ " %{buildroot}/%{zsh_completions_dir}/_sq", ] -[tests] -skip = [ - # --lib - "cli::cert::export::sq_cert_export", - "cli::cert::import::sq_cert_import", - "cli::inspect::sq_inspect", - "cli::key::expire::sq_key_expire", - "cli::key::sq_key_import", - "cli::key::sq_key_list", - "cli::pki::sq_pki_authenticate", - "cli::pki::sq_pki_identify", - "cli::pki::sq_pki_list", - "cli::pki::sq_pki_lookup", - "cli::pki::sq_pki_path", - # --test sq-sign - "sq_sign", - "sq_sign_append", - "sq_sign_append_on_compress_then_sign", - "sq_sign_detached", - "sq_sign_detached_append", - "sq_sign_with_notations", -] -skip-exact = true -comments = [ - "skip tests that require files which are not included in published crates", - "skip tests that fail because the Fedora crypto policy is too strict", -] -