[pkg-go] Bug#869847: don't try building packages with only test files
Alexandre Viau
aviau at debian.org
Thu Jul 27 02:22:34 UTC 2017
Package: dh-golang
Severity: normal
This is happening during a package build:
>go build github.com/syncthing/syncthing/meta: no buildable Go source
files in
/home/aviau/git/debian-pkg/build-area/syncthing-0.14.33+dfsg1/_build/src/github.com/syncthing/syncthing/meta
the ``meta`` package is not empty:
> -rw-r--r-- 1 aviau aviau 3719 Jul 26 22:02 authors_test.go
> -rw-r--r-- 1 aviau aviau 1533 Jul 26 22:02 copyright_test.go
> -rw-r--r-- 1 aviau aviau 1055 Jul 26 22:02 gofmt_test.go
> -rw-r--r-- 1 aviau aviau 2642 Jul 26 22:02 metalint_test.go
Its just that it contains only tests.
It would be great if whatever command is used to determine what packages
are build could exclude packages that are "empty" because they contain
only tests.
Cheers <3
--
Alexandre Viau
aviau at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 858 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20170726/a2000434/attachment.sig>
More information about the Pkg-go-maintainers
mailing list