From ca7acdfa2db8797a583f420bb274d8efe38f746e Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Thu, 26 Dec 2019 07:20:09 +0100 Subject: [PATCH] Enable tests Signed-off-by: Igor Gnatenko --- rust-reqwest.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rust-reqwest.spec b/rust-reqwest.spec index b179d8e..cb36e22 100644 --- a/rust-reqwest.spec +++ b/rust-reqwest.spec @@ -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