[Pkg-golang-commits] [golang] 08/27: - Do not include race enabled packages in golang-go deb (see Debian bug #807294)
Michael Hudson-Doyle
mwhudson-guest at moszumanska.debian.org
Tue Mar 1 02:57:33 UTC 2016
This is an automated email from the git hooks/post-receive script.
mwhudson-guest pushed a commit to branch gbp
in repository golang.
commit e92bf726a0f40fdae493ea438686598da03ebf2f
Author: Michael Hudson-Doyle <michael.hudson at canonical.com>
Date: Fri Feb 12 10:16:57 2016 +1300
- Do not include race enabled packages in golang-go deb (see Debian bug
#807294)
---
debian/rules | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/debian/rules b/debian/rules
index eda8a86..47a1b9e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -39,6 +39,10 @@ ifeq (true, $(RUN_TESTS))
export PATH="$(GOROOT)/bin:$$PATH"; \
eval "$$(go tool dist env)"; \
bash run.bash --no-rebuild;
+ # On linux/amd64 run.bash installs some race enabled standard library
+ # packages. Delete them again to avoid accidentally including them in
+ # the package.
+ rm -rf "$(GOROOT)/pkg/linux_amd64_race/"
else
# skip the tests on platforms where they fail
endif
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-golang/golang.git
More information about the pkg-golang-commits
mailing list