#!/usr/bin/make -f

export DH_GOLANG_EXCLUDES := benchmark

%:
	dh $@

override_dh_auto_test:
ifneq (,$(filter $(DEB_HOST_ARCH), armhf armel i386 ppc64el riscv64))
	# Skip some time consuming tests, to avoid FTBFS issue
	# on reproducible-builds.org CI tests.
	dh_auto_test $(DH_BUILD_OPTS) -- -short
else
	dh_auto_test $(DH_BUILD_OPTS) -- -timeout 25m
endif
