File: rules

package info (click to toggle)
golang-github-protonmail-go-crypto 1.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,932 kB
  • sloc: makefile: 10
file content (15 lines) | stat: -rwxr-xr-x 410 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f
export DH_GOLANG_INSTALL_EXTRA := openpgp/test_data

%:
	dh $@ --builddirectory=_build --buildsystem=golang --with=golang

ifneq (,$(filter $(DEB_HOST_ARCH), ppc64el))
override_dh_auto_test:
	# Ignore test on ppc64el until https://github.com/ProtonMail/go-crypto/issues/97 is fixed
	-dh_auto_test
else
override_dh_auto_test:
	# Increase timeout for tests
	dh_auto_test -- -timeout 30m
endif