15
0

Accepting request 1227139 from home:Andreas_Schwab:Factory

- Set COVERAGE to skip expensive tests
- Skip test_snapshot_members in qemu build

OBS-URL: https://build.opensuse.org/request/show/1227139
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pympler?expand=0&rev=30
This commit is contained in:
2024-11-28 17:48:19 +00:00
committed by Git OBS Bridge
parent 100cdc36e7
commit 40882fd4ba
2 changed files with 11 additions and 3 deletions

View File

@@ -72,10 +72,12 @@ skiptests+=" or test_findgarbage or test_prune or test_get_tree"
skiptests+=" or test_findgarbage or test_prune or test_get_tree"
# gh#pympler/pympler#163
skiptests+=" or test_edges_new or test_edges_old or test_split or test_traceback"
%if "%_arch" == "aarch64"
# Slow and OBS can kill it on some archs
skiptests+=" or test_otracker_diff"
%if 0%{?qemu_user_space_build}
# qemu does not implement process memory statistics
skiptests+=" or test_snapshot_members"
%endif
# skip expensive tests
export COVERAGE=1
%pytest -k "not ($skiptests)"
%files %{python_files}