forked from pool/python-pycurl
- Disable http3 tests if it's not supported
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=93
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 24 09:05:26 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Disable http3 tests if it's not supported
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 2 18:51:53 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@@ -114,6 +114,9 @@ fi
|
||||
if ! pkg-config --variable=supported_protocols libcurl|grep -qw SCP; then
|
||||
test_flags="$test_flags or ssh"
|
||||
fi
|
||||
if ! pkg-config --variable=supported_protocols libcurl|grep -qw HTTP3; then
|
||||
test_flags="$test_flags or http_version_3"
|
||||
fi
|
||||
# test_getinfo are failing with new bottle
|
||||
%pytest_arch -s -k "not ($test_flags or test_getinfo)"
|
||||
rm -rf %{buildroot}%{_prefix}/lib/debug %{buildroot}%{_libdir}/python*
|
||||
|
Reference in New Issue
Block a user