Don't try to run tests of vendored dependencies in %check

This commit is contained in:
Miro Hrončok 2023-03-09 13:28:58 +01:00
parent 231f32cf96
commit 0dbc0e5e1d

View File

@ -116,6 +116,7 @@ export OPENSSL_ENABLE_SHA1_SIGNATURES=yes
# see rhbz#2171661 for test_load_invalid_ec_key_from_pem: error:030000CD:digital envelope routines::keymgmt export failure # see rhbz#2171661 for test_load_invalid_ec_key_from_pem: error:030000CD:digital envelope routines::keymgmt export failure
PYTHONPATH=${PWD}/vectors:%{buildroot}%{python3_sitearch} \ PYTHONPATH=${PWD}/vectors:%{buildroot}%{python3_sitearch} \
%{__python3} -m pytest \ %{__python3} -m pytest \
--ignore vendor \
-k "not (test_buffer_protocol_alternate_modes or test_dh_parameters_supported or test_load_ecdsa_no_named_curve or test_decrypt_invalid_decrypt or test_openssl_memleak or test_load_invalid_ec_key_from_pem)" -k "not (test_buffer_protocol_alternate_modes or test_dh_parameters_supported or test_load_ecdsa_no_named_curve or test_decrypt_invalid_decrypt or test_openssl_memleak or test_load_invalid_ec_key_from_pem)"
%endif %endif
@ -128,6 +129,7 @@ PYTHONPATH=${PWD}/vectors:%{buildroot}%{python3_sitearch} \
%changelog %changelog
* Thu Mar 09 2023 Miro Hrončok <mhroncok@redhat.com> - 39.0.2-2 * Thu Mar 09 2023 Miro Hrončok <mhroncok@redhat.com> - 39.0.2-2
- Don't run tests requiring pytz on RHEL - Don't run tests requiring pytz on RHEL
- Don't try to run tests of vendored dependencies in %%check
* Sat Mar 04 2023 Christian Heimes <cheimes@redhat.com> - 39.0.2-1 * Sat Mar 04 2023 Christian Heimes <cheimes@redhat.com> - 39.0.2-1
- Update to 39.0.2, resolves rhbz#2124729 - Update to 39.0.2, resolves rhbz#2124729