]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: fix TestNewReleaseRebuildsStalePackagesInGOPATH
authorAustin Clements <austin@google.com>
Thu, 8 Apr 2021 14:14:25 +0000 (10:14 -0400)
committerAustin Clements <austin@google.com>
Thu, 8 Apr 2021 15:02:51 +0000 (15:02 +0000)
CL 307818 added a package that the runtime depends on, but didn't
update the list of runtime dependencies in this test.

This should fix the longtest builder failures.

Change-Id: I5f3be31b069652e05ac3db9b1ce84dd5dfe0f66f
Reviewed-on: https://go-review.googlesource.com/c/go/+/308469
Trust: Austin Clements <austin@google.com>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/go/go_test.go

index d14b2328bfaa05ac950799eb39bec547e81e883a..5a657bcfcafaa24113b900819df58fcfee327707 100644 (file)
@@ -814,6 +814,7 @@ func TestNewReleaseRebuildsStalePackagesInGOPATH(t *testing.T) {
                "src/internal/abi",
                "src/internal/bytealg",
                "src/internal/cpu",
+               "src/internal/goexperiment",
                "src/math/bits",
                "src/unsafe",
                filepath.Join("pkg", runtime.GOOS+"_"+runtime.GOARCH),