Commit d21af4c0 authored by Andreas Henriksson's avatar Andreas Henriksson

Make tests non-fatal on alpha and on arm-arm-* builders

The builders hosted at ARM Ltd have longstanding issues
that causes intermittent test failures.
See http://bugs.debian.org/872635
(Please note that this has nothing to do with the architecture in
question, rather in which data center it's located.)

The alpha architecture also has one test failing which has been
confirmed as a kernel bug by the alpha porters. Porters should
be working on getting it fixed, so let the build pass with this
known regression for now.
parent 7fc9f4e3
......@@ -171,9 +171,16 @@ override_dh_installsystemd:
endif
override_dh_auto_test:
ifeq ($(DEB_HOST_ARCH_OS), linux)
ifeq ($(shell hostname | head -c 8), arm-arm-)
@echo "WARNING: ARM Ltd hosted builder detected, making tests non-fatal because of known flakyness in build infrastructure."
dh_auto_test --max-parallel=1 || true
else ifneq (,$(filter alpha,$(DEB_HOST_ARCH)))
@echo "WARNING: Making tests non-fatal because of arch $(DEB_HOST_ARCH)"
dh_auto_test --max-parallel=1 || true
else ifeq ($(DEB_HOST_ARCH_OS), linux)
dh_auto_test --max-parallel=1
else
@echo "WARNING: non-linux detected, making tests non-fatal."
dh_auto_test --max-parallel=1 || true
endif
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