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:
@@ -122,12 +122,14 @@ rm %{buildroot}%{_docdir}/%{name}-doc/examples/.editorconfig
|
||||
%fdupes %{buildroot}%{_docdir}/%{name}-doc/
|
||||
|
||||
%check
|
||||
%ifnarch %{ix86}
|
||||
export SDL_VIDEODRIVER=dummy
|
||||
export SDL_AUDIODRIVER=disk
|
||||
export LANG=en_US.UTF-8
|
||||
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
|
||||
$python -m pygame.tests.__main__ -v --exclude opengl --time_out 300
|
||||
}
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
|
Reference in New Issue
Block a user