| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
# Skip e2e tests folder to avoid circular dependencies during dh_auto_test |
| 4 |
export DH_GOLANG_EXCLUDES := e2e/* |
| 5 |
|
| 6 |
%: |
| 7 |
dh $@ --builddirectory=_build --buildsystem=golang |
| 8 |
|
| 9 |
override_dh_auto_test: |
| 10 |
# Skip tests that require localhost ports, DNS lookups or GRPC connections |
| 11 |
# to avoid test failures in build environment. |
| 12 |
dh_auto_test -- -skip='TestEchoServer|TestFailedDNSLookupProxy_HTTPCONN|TestProxyDial_AgentTimeout_GRPC' |
| 13 |
override_dh_auto_install: |
| 14 |
dh_auto_install -- --no-binaries |