14
0
forked from pool/python-pygame

- Switch off tests on i586 (gh#pygame/pygame#2721)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygame?expand=0&rev=32
This commit is contained in:
2021-09-16 21:02:25 +00:00
committed by Git OBS Bridge
parent 53fe341b9d
commit ab6fef6923
2 changed files with 7 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Sep 16 21:02:06 UTC 2021 - Matej Cepl <mcepl@suse.com>
- Switch off tests on i586 (gh#pygame/pygame#2721)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Apr 27 11:22:12 UTC 2021 - Ben Greiner <code@bnavigator.de> Tue Apr 27 11:22:12 UTC 2021 - Ben Greiner <code@bnavigator.de>

View File

@@ -122,12 +122,14 @@ rm %{buildroot}%{_docdir}/%{name}-doc/examples/.editorconfig
%fdupes %{buildroot}%{_docdir}/%{name}-doc/ %fdupes %{buildroot}%{_docdir}/%{name}-doc/
%check %check
%ifnarch %{ix86}
export SDL_VIDEODRIVER=dummy export SDL_VIDEODRIVER=dummy
export SDL_AUDIODRIVER=disk export SDL_AUDIODRIVER=disk
export LANG=en_US.UTF-8 export LANG=en_US.UTF-8
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} %{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
$python -m pygame.tests.__main__ -v --exclude opengl --time_out 300 $python -m pygame.tests.__main__ -v --exclude opengl --time_out 300
} }
%endif
%files %{python_files} %files %{python_files}
%doc README.rst %doc README.rst