Commit 79d16ad1 authored by Bernhard Schmidt's avatar Bernhard Schmidt

Treat testsuite errors as non-fatal on some architectures

The testsuite doesn't work reliably and fails on several architectures,
including ppc64el, ia64, powerpc and ppc64. The testsuite is badly
supported upstream, treat errors on architectures other than a few
main ones as non-fatal
parent d6a536ca
......@@ -66,3 +66,11 @@ override_dh_installinit:
dh_installinit -pntp --error-handler=installinit_error --no-restart-after-upgrade
dh_installinit -pntpdate --no-restart-after-upgrade
dh_apparmor --profile-name=usr.sbin.ntpd -pntp
override_dh_auto_test:
# Make the test suite fatal on arches where it works
ifneq (,$(filter amd64 i386 arm64 armhf mips64el, $(DEB_HOST_ARCH)))
dh_auto_test
else
dh_auto_test || echo "Ignoring testsuite error"
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