https://bugzilla.redhat.com/show_bug.cgi?id=1998886
Jerry James <loganjerry(a)gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |loganjerry(a)gmail.com
Doc Type|--- |If docs needed, set a value
--- Comment #1 from Jerry James <loganjerry(a)gmail.com> ---
I notice that the %check script is commented out with a note that a display is
needed to run the tests. That's what Xvfb is for! If you add these
BuildRequires:
BuildRequires: gtk3-devel
BuildRequires: %{py3_dist pygobject}
BuildRequires: %{py3_dist pytest}
BuildRequires: xorg-x11-server-Xvfb
and the write the %check script like this:
%check
PYTHONPATH=%{buildroot}%{python3_sitelib} xvfb-run -d %{_bindir}/pytest
then the tests run, and pass. (And, incidentally, reveal that the liblarch
tests use multiple deprecated interfaces.)
--
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=1998886