Skip to content
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.

Commit

Permalink
[DO NOT MERGE] Skip tests on ARM
Browse files Browse the repository at this point in the history
The test battery has begun to fail under arm64 and armhf on
xenial_-_edge_-_wayland, possibly due to a Mesa issue with xvfb.

#340
  • Loading branch information
UniversalSuperBox committed Oct 20, 2020
1 parent e9db69f commit 879100e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ include /usr/share/dpkg/default.mk
export DPKG_GENSYMBOLS_CHECK_LEVEL=4
export NO_PNG_PKG_MANGLE=1

DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)

# Skip tests on the archs they are known to be flaky with current configuration
testskip_architectures := arm64 armhf

%:
dh $@ --parallel --fail-missing --with python3

Expand All @@ -21,10 +26,12 @@ override_dh_auto_build:
dh_auto_build -- -O all doc

override_dh_auto_test:
ifneq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH), $(testskip_architectures)))
# Run the entire test battery
# Parallel tests have a risk of starting xvfb on the same DISPLAY multiple times,
# causing the whole battery to fail.
dh_auto_test --no-parallel -- -O -k xvfballtests
endif

override_dh_install:
# install autopilot tests
Expand Down

0 comments on commit 879100e

Please sign in to comment.