#!/usr/bin/make -f # We do not want to ship compressed files under testdata export DH_GOLANG_EXCLUDES = cmd/glzip testdata %: dh $@ --builddirectory=debian/_build --buildsystem=golang override_dh_auto_test: # Skip tests on 32 bits arch due to FTBFS. Need help for proper fix. ifeq ($(DEB_HOST_ARCH_BITS),32) @echo "Skipping test suite on 32-bit architectures to avoid compile-time integer overflows." else # Skip tests that requires files from excluded testdata dh_auto_test -- -short -skip="\ TestWriter|\ " endif