File: rules

package info (click to toggle)
golang-github-lucas-clemente-quic-go 0.55.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,376 kB
  • sloc: sh: 54; makefile: 14
file content (24 lines) | stat: -rwxr-xr-x 697 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f

export DH_GOLANG_INSTALL_EXTRA := $(wildcard fuzzing/*/corpus)
# Experimental package needed for running the test suite in go 1.24
export GOEXPERIMENT := synctest
# Unclear why this is necessary, it should be the default.
export GODEBUG := asynctimerchan=0

execute_after_dh_auto_configure:
	find _build -name sys_conn_oob_test.go -print -delete

execute_after_dh_auto_test:
	find _build -name keylog.txt -print -delete

# Skip some flaky tests
override_dh_auto_test:
	dh_auto_test $(DH_BUILD_OPTS) -- \
		-skip=TestConnectionCloseRetransmission

override_dh_auto_install:
	dh_auto_install -- --no-binaries

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