Run full test suite

This commit is contained in:
Sandro Mani 2021-05-24 16:34:23 +02:00
parent 5765d09726
commit 71e0a13acf

View File

@ -8,7 +8,7 @@
Name: python-%{srcname} Name: python-%{srcname}
Version: 8.2.0 Version: 8.2.0
Release: 1%{?dist} Release: 2%{?dist}
Summary: Python image processing library Summary: Python image processing library
# License: see http://www.pythonware.com/products/pil/license.htm # License: see http://www.pythonware.com/products/pil/license.htm
@ -149,10 +149,12 @@ install -m 644 src/libImaging/*.h %{buildroot}/%{py3_incdir}/Imaging
# Check Python 3 modules # Check Python 3 modules
ln -s $PWD/Images $PWD/build/%py3_libbuilddir/Images ln -s $PWD/Images $PWD/build/%py3_libbuilddir/Images
cp -R $PWD/Tests $PWD/build/%py3_libbuilddir/Tests cp -R $PWD/Tests $PWD/build/%py3_libbuilddir/Tests
cp -R $PWD/selftest.py $PWD/build/%py3_libbuilddir/selftest.py cp -a $PWD/selftest.py $PWD/build/%py3_libbuilddir/selftest.py
pushd build/%py3_libbuilddir pushd build/%py3_libbuilddir
PYTHONPATH=$PWD %{__python3} selftest.py PYTHONPATH=$PWD %{__python3} selftest.py
popd popd
%pytest -v -k "not test_qt_image_qapplication"
%files -n python%{python3_pkgversion}-%{srcname} %files -n python%{python3_pkgversion}-%{srcname}
%doc README.md CHANGES.rst %doc README.md CHANGES.rst
@ -189,6 +191,9 @@ popd
%changelog %changelog
* Mon May 24 2021 Sandro Mani <manisandro@gmail.com> - 8.2.0-2
- Run full test suite
* Fri Apr 02 2021 Sandro Mani <manisandro@gmail.com> - 8.2.0-1 * Fri Apr 02 2021 Sandro Mani <manisandro@gmail.com> - 8.2.0-1
- Update to 8.2.0 - Update to 8.2.0