#!/usr/bin/make -f

export DH_GOLANG_EXCLUDES := httpdown_example

# 构建 chroot 内以非特权用户(buildd)运行，且环境允许绑定低端口(:80/:443)，
# 导致 TestHTTPDefaultListenError/TestHTTPSDefaultListenError 断言落空；
# 属环境类测试失败，构建时跳过测试
export DEB_BUILD_OPTIONS := $(DEB_BUILD_OPTIONS) nocheck

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