File: rules

package info (click to toggle)
golang-github-google-go-tpm 0.9.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,376 kB
  • sloc: makefile: 10
file content (18 lines) | stat: -rwxr-xr-x 583 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

# exclude simulator tests, they rely on unpackaged
# github.com/google/go-tpm-tools
export DH_GOLANG_EXCLUDES := \
	examples \
	tpm2/transport/simulator

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

execute_before_dh_auto_test:
# src/github.com/google/go-tpm/tpm2/transport/simulator/simulator.go:7:2: cannot find package "github.com/google/go-tpm-tools/simulator" in any of:
	rm -fv _build/src/github.com/google/go-tpm/tpm2/crypto_test.go

override_dh_auto_test:
	DH_GOLANG_EXCLUDES="$(DH_GOLANG_EXCLUDES) tpm2/test" \
		dh_auto_test $(DH_BUILD_OPTS)