From 0a8907fbbd6040fccc5ba87c0694a9af370d0268 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ru=C5=BEi=C4=8Dka?= Date: Mon, 12 Jun 2023 15:18:43 +0200 Subject: [PATCH] Debian: Don't run tests on ARM Tests fail during ARM cross-build so only run them on amd64/i386. --- distro/pkg/deb/rules | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/distro/pkg/deb/rules b/distro/pkg/deb/rules index 1740fb95..d3eac443 100755 --- a/distro/pkg/deb/rules +++ b/distro/pkg/deb/rules @@ -35,6 +35,12 @@ override_dh_installinit: override_dh_installsystemd: dh_installsystemd --name=bird --restart-after-upgrade +# Only run tests on selected archs (tests fail on ARM cross-build) +override_dh_auto_test: +ifneq (,$(filter $(DEB_BUILD_ARCH), amd64 i386)) + dh_auto_test +endif + DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl XP = xsltproc -''-nonet -''-param man.charmap.use.subset "0"