- Enable running of the test suite.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=155
This commit is contained in:
Matej Cepl 2022-01-31 20:31:11 +00:00 committed by Git OBS Bridge
parent 937c342025
commit ecb4cd5d28
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jan 31 20:31:01 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Enable running of the test suite.
-------------------------------------------------------------------
Mon Jan 31 13:46:21 UTC 2022 - Paolo Stivanin <info@paolostivanin.com>

View File

@ -79,6 +79,11 @@ $python -O -m compileall -d %{$python_sitearch} %{buildroot}%{$python_sitearch}/
%fdupes %{buildroot}%{$python_sitearch}
}
%check
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} PYTHONDONTWRITEBYTECODE=1
$python runtests.py -v
}
%post
%python_install_alternative cython cythonize cygdb