Commit 7e7d5c94 authored by Jeremy Bicha's avatar Jeremy Bicha

Run build tests and make tests failures fail the build on Ubuntu

parent 7e857248
......@@ -8,7 +8,9 @@ Build-Depends: debhelper (>= 11),
libx11-dev,
libgl1-mesa-dev,
libegl1-mesa-dev,
python:native
python:native,
xauth <!nocheck>,
xvfb <!nocheck>
Standards-Version: 3.9.8
Section: libs
Homepage: https://github.com/anholt/libepoxy
......
......@@ -3,9 +3,14 @@
%:
dh $@ --buildsystem=meson
# Running make check is unsuitable because the tests require a working
# X environment currently, so we disable dh_auto_test.
# Ignore test failures on Debian
# See https://bugs.debian.org/874077
override_dh_auto_test:
ifeq (yes,$(shell dpkg-vendor --derives-from Ubuntu && echo yes))
xvfb-run dh_auto_test
else
-xvfb-run dh_auto_test
endif
# No symbols for udebs, specify the highest version from symbols file:
override_dh_makeshlibs:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment