1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
#!/usr/bin/make -f
# avoid ANSI coloring in build logs
# disabling colors appears to be break tests
# cf https://github.com/onsi/ginkgo/issues/1469
# export GINKGO_NO_COLOR := true
export DH_GOLANG_INSTALL_EXTRA := \
integration/_fixtures ginkgo/outline/_testdata \
docs/index.md docs/MIGRATING_TO_V2.md README.md
%:
dh $@ --buildsystem=golang --with=golang --builddir=build
# don't fail tests on slow architectures
override_dh_auto_test:
ifeq (,$(filter $(DEB_HOST_ARCH), mips64el riscv64 armel armhf ppc64el s390x))
dh_auto_test -- -timeout=1h
else
-dh_auto_test -- -timeout=1h
endif
|