From 8746d29cc0fec5239a24b95fdfa122bb14d6d7b8 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Sun, 12 Apr 2020 19:51:41 -0500 Subject: [PATCH] dev-lang/go: remove extra files generated by tests Signed-off-by: William Hubbs --- dev-lang/go/go-1.14.2.ebuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dev-lang/go/go-1.14.2.ebuild b/dev-lang/go/go-1.14.2.ebuild index 1a462c15811b..309dbb808f86 100644 --- a/dev-lang/go/go-1.14.2.ebuild +++ b/dev-lang/go/go-1.14.2.ebuild @@ -147,6 +147,9 @@ src_test() cd src PATH="${GOBIN}:${PATH}" \ ./run.bash -no-rebuild || die "tests failed" + cd .. + rm -fr pkg/*_race || die + rm -fr pkg/obj/go-build || die } src_install() -- 2.26.2