File: rules

package info (click to toggle)
golang-github-onsi-ginkgo-v2 2.22.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,060 kB
  • sloc: javascript: 59; makefile: 23; sh: 14
file content (22 lines) | stat: -rwxr-xr-x 596 bytes parent folder | download
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