Enable tests for all arches
Run tests against Xvfb so we get plausible amounts of coverage
This commit is contained in:
parent
6a8bb8ed28
commit
6f33bbfd88
@ -1,7 +1,7 @@
|
|||||||
Summary: epoxy runtime library
|
Summary: epoxy runtime library
|
||||||
Name: libepoxy
|
Name: libepoxy
|
||||||
Version: 1.5.1
|
Version: 1.5.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/anholt/libepoxy
|
URL: https://github.com/anholt/libepoxy
|
||||||
Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz
|
Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz
|
||||||
@ -12,6 +12,10 @@ BuildRequires: pkgconfig(gl)
|
|||||||
BuildRequires: pkgconfig(egl)
|
BuildRequires: pkgconfig(egl)
|
||||||
BuildRequires: pkgconfig(glesv2)
|
BuildRequires: pkgconfig(glesv2)
|
||||||
BuildRequires: python3
|
BuildRequires: python3
|
||||||
|
BuildRequires: xorg-x11-server-Xvfb mesa-dri-drivers
|
||||||
|
|
||||||
|
# https://github.com/anholt/libepoxy/pull/167
|
||||||
|
Patch0: 0001-test-glx_public_api_core-Fail-softer-if-core-context.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A library for handling OpenGL function pointer management.
|
A library for handling OpenGL function pointer management.
|
||||||
@ -35,14 +39,10 @@ developing applications that use %{name}.
|
|||||||
%meson_install
|
%meson_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# In theory this is fixed in 1.2 but we still see errors on most platforms
|
# this should be %%meson_test but the macro expands with a bajillion
|
||||||
# https://github.com/anholt/libepoxy/issues/24
|
# embedded newlines for no obvious reason
|
||||||
%meson_test \
|
xvfb-run -d -s "-screen 0 640x480x24" ninja -C %{_vpath_builddir} test || \
|
||||||
%ifarch %{arm} aarch64 %{power64} s390x
|
(cat %{_vpath_builddir}/meson-logs/testlog.txt ; exit 1)
|
||||||
|| :
|
|
||||||
%else
|
|
||||||
;
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
@ -57,6 +57,10 @@ developing applications that use %{name}.
|
|||||||
%{_libdir}/pkgconfig/epoxy.pc
|
%{_libdir}/pkgconfig/epoxy.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Apr 25 2018 Adam Jackson <ajax@redhat.com> - 1.5.1-2
|
||||||
|
- Enable tests for all arches
|
||||||
|
- Run tests against Xvfb so we get plausible amounts of coverage
|
||||||
|
|
||||||
* Wed Apr 25 2018 Kalev Lember <klember@redhat.com> - 1.5.1-1
|
* Wed Apr 25 2018 Kalev Lember <klember@redhat.com> - 1.5.1-1
|
||||||
- Update to 1.5.1
|
- Update to 1.5.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user