Hi,
Do go source packages normally contain test code?
thx
Hi,
> Do go source packages normally contain test code?
I tried to add the following to my rules file
export DH_GOLANG_EXCLUDES := test vendor
Is that the correct way to go?
"DH_GOLANG_EXCLUDES" (list of Perl regular expressions,
whitespace-separated, default empty) defines regular expression
Should be okay. If not, try putting it between double quotes.
If I understand correctly, it excludes files to be copied to temporary build
directory.
On March 22, 2019 12:41:16 AM GMT+01:00, Tong Sun
wrote:
>Hi,
>
>> Do go source packages normally contain test code?
>
>I tried to add the follo
I thought so, as I copied it from
https://salsa.debian.org/go-team/packages/git-lfs/blob/master/debian/rules#L6
However, I just verified again that it is not meant to exclude test
from the source package. See
http://paste.debian.net/1074164/
It not even prevent copying test to temporary build di
I would say that you should not exclude this test/ directory because it is used
in test suite of the source package which is vital.
But maybe someone more experienced could say something about it.
On March 22, 2019 1:07:05 AM GMT+01:00, Tong Sun
wrote:
>I thought so, as I copied it from
>
>htt
On Thu, Mar 21, 2019 at 8:39 PM Dawid Dziurla wrote:
>
> I would say that you should not exclude this test/ directory because it is
> used in test suite of the source package which is vital.
>
> But maybe someone more experienced could say something about it.
OK. I'll wait and see. BTW, I come u