diff --git a/python-PySDL2.changes b/python-PySDL2.changes index f7f10bb..61d2117 100644 --- a/python-PySDL2.changes +++ b/python-PySDL2.changes @@ -20,6 +20,8 @@ Fri Jul 29 12:38:06 UTC 2022 - Matej Cepl - Various bugfixes (see the project's news.rst for more info) - Add mixer_tests_fix.patch to switch off failing tests (gh#py-sdl/py-sdl2#241). +- Otherwise, we actually don’t need to explicitly skip ANY + tests! Wow! ------------------------------------------------------------------- Sun Mar 20 09:55:17 UTC 2022 - Ben Greiner diff --git a/python-PySDL2.spec b/python-PySDL2.spec index 347a2fc..a18dd52 100644 --- a/python-PySDL2.spec +++ b/python-PySDL2.spec @@ -85,22 +85,7 @@ export SDL_AUDIODRIVER=dummy export SDL_RENDER_DRIVER=software export PYTHONFAULTHANDLER=1 -donttest="pytest_k_dummyprefix" -# color mismatches, test shell variable because this is a noarch package -if [ "$RPM_ARCH" = "ppc64" -o "$RPM_ARCH" = "ppc64le" -o "$RPM_ARCH" = "s390x" ]; then - donttest="$donttest or sdl2ext" -fi -# Does not recognize big endian byteorder -if [ $(python3 -c "import sys; print(sys.byteorder)") = "big" ]; then - donttest="$donttest or PixelFormatEnum" -fi -%if 0%{suse_version} < 1550 -# Segfault with SDL on Leap -donttest="$donttest or test_SDL_GetPowerInfo" -# python2 env different, pytest arg missing -python2_donttest=" or test_SDL_GetBasePath or test_render_on" -%endif -%pytest -rfEs -k "not ($donttest ${$python_donttest})" +%pytest -rfEs %files %{python_files} %license COPYING.txt