https://bugzilla.redhat.com/show_bug.cgi?id=1626861
Bug ID: 1626861
Summary: python-polib %check runs no tests, hides s390x
failures
Product: Fedora
Version: rawhide
Component: python-polib
Assignee: dchen(a)redhat.com
Reporter: mhroncok(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: dchen(a)redhat.com, diegobz(a)gmail.com, dshea(a)redhat.com,
i18n-bugs(a)lists.fedoraproject.org,
ivazqueznet(a)gmail.com, moez.roy(a)gmail.com
I was asked by an openSUSE maintainer whether we are bugged by
https://bitbucket.org/izi/polib/issues/96/tests-fail-on-bigendian-platforms
So I fired up a scratch build, but apparently, the %check section is just false
promise. See:
Executing(%check):
+ /usr/bin/python2 setup.py test
...
Ran 0 tests in 0.000s
OK
+ /usr/bin/python3 setup.py test
...
Ran 0 tests in 0.000s
That is python-polib-1.0.7-12.
Upstream uses "python tests/tests.py", so what about:
%if 0%{?fedora} || 0%{?rhel} >= 8
%check
%{__python2} tests/tests.py
%if %{with python3}
%{__python3} tests/tests.py
%endif # with python3
%endif # 0#{?fedora} || 0#{?rhel} >= 8
Executing(%check):
+ /usr/bin/python2 tests/tests.py
......................................................................
----------------------------------------------------------------------
Ran 70 tests in 0.222s
OK
+ /usr/bin/python3 tests/tests.py
......................................................................
----------------------------------------------------------------------
Ran 70 tests in 0.208s
OK
--
You are receiving this mail because:
You are on the CC list for the bug.