File: rules

package info (click to toggle)
golang-github-transparency-dev-tessera 1.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,612 kB
  • sloc: sql: 33; sh: 17; makefile: 12
file content (18 lines) | stat: -rwxr-xr-x 585 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export DH_GOLANG_EXCLUDES := \
 ^github.com/transparency-dev/tessera/cmd \
 ^github.com/transparency-dev/tessera/storage/gcp \
 ^github.com/transparency-dev/tessera/storage/aws

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

override_dh_auto_install:
	dh_auto_install -- --no-binaries

# https://github.com/transparency-dev/tessera/issues/856
SKIP = "TestNewWitnessGroupFromPolicy_GroupN/group_numerical|TestAntispamPushbackRecovers"
override_dh_auto_test:
	dh_auto_test $(DH_BUILD_OPTS) -- -skip=$(SKIP)
	(! dh_auto_test $(DH_BUILD_OPTS) -- -run=$(SKIP))