#!/usr/bin/make -f

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

# Random failure seen on several archs and several environments:
# === RUN   TestTrie_DeleteLeakageDense
#     patricia_dense_test.go:278: Size=0, Total=1, Trie state:
#          <nil>
#     patricia_dense_test.go:279: Heap space leak, grew 42640 bytes (284248 to 326888)
# --- FAIL: TestTrie_DeleteLeakageDense (1.60s)
SKIP="TestTrie_DeleteLeakageDense"
override_dh_auto_test:
	-dh_auto_test $(DH_BUILD_OPTS) -- -run $(SKIP)
	dh_auto_test $(DH_BUILD_OPTS) -- -skip $(SKIP)
