Skip some tests on i586 due to overflows

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-librosa?expand=0&rev=23
This commit is contained in:
2022-09-26 02:22:35 +00:00
committed by Git OBS Bridge
parent cf18dbe75e
commit 1ae0e469e9
2 changed files with 7 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
-------------------------------------------------------------------
Tue Sep 20 05:58:10 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
Mon Sep 26 02:21:59 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 0.9.2:
* Fixed librosa.show_versions to match package dependencies.

View File

@@ -100,6 +100,12 @@ donttest+=" or test_display"
donttest+=" or soxr"
# fails with current Tumbleweed
donttest+=" or test_pyin_multi_center"
# Overflow on i586
if [ $(getconf LONG_BIT) -eq 32 ]; then
donttest+=" or test_tempo or test_hybrid_cqt or test_stft_winsizes"
donttest+=" or test_istft_reconstruction or test_trim"
donttest+=" or test_nnls_multiblock"
fi
%pytest -k "not (${donttest:4})"
%files %{python_files}