dev-lang/go: remove extra files generated by tests
authorWilliam Hubbs <williamh@gentoo.org>
Mon, 13 Apr 2020 00:51:41 +0000 (19:51 -0500)
committerWilliam Hubbs <williamh@gentoo.org>
Mon, 13 Apr 2020 00:51:59 +0000 (19:51 -0500)
Signed-off-by: William Hubbs <williamh@gentoo.org>
dev-lang/go/go-1.14.2.ebuild

index 1a462c15811be9de21efbaa1a3c8b46910f834df..309dbb808f865bed6427003e300137fca28f5749 100644 (file)
@@ -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()