Move away from xvfb-run

Resolves: https://issues.redhat.com/browse/RHEL-36639
This commit is contained in:
Niels De Graef 2024-07-08 14:22:24 +02:00
parent 5b7bf9b811
commit 6757484362

View File

@ -16,7 +16,9 @@ BuildRequires: libEGL-devel
BuildRequires: libX11-devel BuildRequires: libX11-devel
BuildRequires: pkgconfig(glesv2) BuildRequires: pkgconfig(glesv2)
BuildRequires: python3 BuildRequires: python3
BuildRequires: xorg-x11-server-Xvfb mesa-dri-drivers BuildRequires: mesa-dri-drivers
BuildRequires: mutter
BuildRequires: xwayland-run
%description %description
A library for handling OpenGL function pointer management. A library for handling OpenGL function pointer management.
@ -42,7 +44,7 @@ developing applications that use %{name}.
%check %check
# this should be %%meson_test but the macro expands with a bajillion # this should be %%meson_test but the macro expands with a bajillion
# embedded newlines for no obvious reason # embedded newlines for no obvious reason
xvfb-run -d -s "-screen 0 640x480x24" ninja -C %{_vpath_builddir} test || \ xwfb-run -c mutter -- ninja -C %{_vpath_builddir} test || \
(cat %{_vpath_builddir}/meson-logs/testlog.txt ; exit 1) (cat %{_vpath_builddir}/meson-logs/testlog.txt ; exit 1)
%files %files