From: Jakub Ružička Date: Tue, 13 Jul 2021 14:52:58 +0000 (+0200) Subject: deb: enable config tests X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fc421ed1949a75a7d2de1a5cd27c3e266962d36;p=thirdparty%2Fknot-resolver.git deb: enable config tests --- diff --git a/distro/pkg/deb/control b/distro/pkg/deb/control index 1fbc93c12..e3dd70753 100644 --- a/distro/pkg/deb/control +++ b/distro/pkg/deb/control @@ -18,6 +18,8 @@ Build-Depends: libsystemd-dev (>= 227) [linux-any], libcap-ng-dev, libuv1-dev, + lua-basexx, + lua-cqueues, luajit, pkg-config, meson (>= 0.49), diff --git a/distro/pkg/deb/rules b/distro/pkg/deb/rules index 3445b8ce5..aa8bab52f 100755 --- a/distro/pkg/deb/rules +++ b/distro/pkg/deb/rules @@ -15,6 +15,11 @@ DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/default.mk export ARCH=$(DEB_HOST_GNU_CPU) +ifneq (,$(findstring arm64,$(DEB_TARGET_ARCH))) + CONFIG_TESTS=disabled +else + CONFIG_TESTS=enabled +endif %: dh $@ @@ -32,6 +37,7 @@ override_dh_auto_build: -Droot_hints=/usr/share/dns/root.hints \ -Dinstall_kresd_conf=enabled \ -Dunit_tests=enabled \ + -Dconfig_tests=$(CONFIG_TESTS) \ -Dc_args="$${CFLAGS}" \ -Dc_link_args="$${LDFLAGS}" ninja -v -C build_deb