forked from pool/python-msgspec
skip tests on 32 bit
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-msgspec?expand=0&rev=14
This commit is contained in:
@@ -58,7 +58,12 @@ export CFLAGS="%{optflags}"
|
||||
%check
|
||||
# Requires to import the module, but other tests require the path
|
||||
# Can be dropped next release
|
||||
%pytest_arch -k 'not test_raw_copy_doesnt_leak'
|
||||
donttest="test_raw_copy_doesnt_leak"
|
||||
if [ $(getconf LONG_BIT) = 32 ]; then
|
||||
# Overflow errors on 32 bit arches
|
||||
donttest="$donttest or test_hashtable or test_decoding_large_arrays or test_timestamp"
|
||||
fi
|
||||
%pytest_arch -k "not ($donttest)"
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
|
||||
Reference in New Issue
Block a user