File: rules

package info (click to toggle)
golang-k8s-sigs-apiserver-network-proxy 0.33.0%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,068 kB
  • sloc: makefile: 220; sh: 118
file content (14 lines) | stat: -rwxr-xr-x 500 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

# Skip e2e tests folder to avoid circular dependencies during dh_auto_test
export DH_GOLANG_EXCLUDES := e2e/*

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

override_dh_auto_test:
	# Skip tests that require localhost ports, DNS lookups or GRPC connections
	# to avoid test failures in build environment.
	dh_auto_test -- -skip='TestEchoServer|TestFailedDNSLookupProxy_HTTPCONN|TestProxyDial_AgentTimeout_GRPC'
override_dh_auto_install:
	dh_auto_install -- --no-binaries