1
0
mirror of https://github.com/golang/go synced 2024-11-22 22:00:02 -07:00

[dev.regabi] cmd/go: copy internal/abi in TestNewReleaseRebuildsStalePackagesInGOPATH

The internal/abi package is used by runtime and needs to be
copied.

Fix longtest builders.

Change-Id: I7a962df3db2c6bf68cc6a7da74b579f381920009
Reviewed-on: https://go-review.googlesource.com/c/go/+/292592
Reviewed-by: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
This commit is contained in:
Cherry Zhang 2021-02-16 15:55:54 -05:00
parent ed55da46ab
commit b8fb049c7a

View File

@ -811,6 +811,7 @@ func TestNewReleaseRebuildsStalePackagesInGOPATH(t *testing.T) {
// so that we can change files. // so that we can change files.
for _, copydir := range []string{ for _, copydir := range []string{
"src/runtime", "src/runtime",
"src/internal/abi",
"src/internal/bytealg", "src/internal/bytealg",
"src/internal/cpu", "src/internal/cpu",
"src/math/bits", "src/math/bits",