Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 include /usr/share/dpkg/pkg-info.mk
3 export DH_GOLANG_EXCLUDES := example
4
5 %:
6 dh $@ --builddirectory=debian/_build
7
8 override_dh_auto_test:
9 ifneq (,$(filter ppc64el riscv64 s390x,$(DEB_HOST_ARCH)))
10 @echo "tests on $(DEB_HOST_ARCH) are not officially supported from upstream."
11 xvfb-run -a dh_auto_test || true
12 else ifeq ($(DEB_HOST_ARCH),armhf)
13 @echo "Skipping TestCaptureRect on armhf to avoid FAIL in autopkgtest."
14 xvfb-run -a dh_auto_test -- -skip TestCaptureRect
15 else
16 xvfb-run -a dh_auto_test
17 endif