On Fri, Dec 25, 2020 at 8:29 PM Cyril Brulebois <[email protected]> wrote: [...] > So I wanted to check with you whether shipping test data is actually > fine, or whether I should actually strip that from the binary package. > In the latter case, I'd be happy to learn about the recommended way of > dropping those. :)
I don't know if it's best practise or not. But shipping test data in the -dev package is a pattern that has existed for a long time. The autopkgtest-pkg-go also relies on this pattern, since it runs the tests with code from -dev package, https://salsa.debian.org/go-team/packages/dh-golang/-/blob/debian/sid/script/dh_golang_autopkgtest#L95 Since the -dev package is not intended for users(see the recent buildlibs proposal), I don't think anyone is going to change this. -- Shengjing Zhu
