Stop skipping tests that no longer need to be skipped

Related: RHEL-72578
This commit is contained in:
Fabio Valentini 2025-01-14 11:01:46 +09:00 committed by Daiki Ueno
parent 906543368e
commit 5d0f4a5bb2
2 changed files with 1 additions and 49 deletions

View File

@ -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

View File

@ -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",
]