#1004677 dh-golang: Please support skipping specific tests

#1004677#5
Date:
2022-01-31 15:52:40 UTC
From:
To:
Hi,

golang-github-mdlayher-netlink ships test cases in several directories.
Running the package build, dh_auto_test is running this go test command:

   dh_auto_test -O--builddirectory=_build -O--buildsystem=golang
           cd _build && go test -vet=off -v -p 12
	   github.com/mdlayher/netlink
	   github.com/mdlayher/netlink/internal/integration
	   github.com/mdlayher/netlink/nlenc
	   github.com/mdlayher/netlink/nltest

I want to disable running the internal integration tests since they
would introduce circular dependencies. According to the man page, there
is no way to specify tests to exclude. It would be nice if dh-golang
would support excluding tests, e.g. by specifying:

export DH_GOLANG_TEST_EXCLUDES := internal/integration/