Enable tests

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 5 years ago
parent 1f8bbee564
commit ca7acdfa2d
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -1,6 +1,5 @@
# Generated by rust2rpm 13
# * Tests require network
%bcond_with check
%bcond_without check
%global debug_package %{nil}
%global crate reqwest
@ -239,7 +238,8 @@ which use "webpki-roots" feature of "%{crate}" crate.
%if %{with check}
%check
%cargo_test
# Skip tests requiring network and one depending on Cargo.lock being present
%cargo_test -- -- --skip test_badssl_modern --skip test_badssl_self_signed --skip test_badssl_wrong_host --skip file
%endif
%changelog

Loading…
Cancel
Save