diff options
| author | Bryan C. Mills <bcmills@google.com> | 2021-05-25 12:21:11 -0400 |
|---|---|---|
| committer | Bryan C. Mills <bcmills@google.com> | 2021-05-27 14:03:15 +0000 |
| commit | 9bc52686da81b515cf3ad654dfb1a536fabceafa (patch) | |
| tree | cf2b8345d64e6d725f2828592de0ca5959c5037e /src/net/http | |
| parent | 6ff0ae2aa4fdb9c6c267efb30927e87563387c49 (diff) | |
| download | go-9bc52686da81b515cf3ad654dfb1a536fabceafa.tar.xz | |
cmd/go,cmd/link: do not check for staleness in most tests
Instead, check that stale packages in the standard library
are not rebuilt when already present in the build cache,
and are not installed implicitly when rebuilt.
We retain the staleness checks for the runtime package in tests
involving '-i', because those are guaranteed to fail anyway if the
package is stale and the "stale" failure message is arguably clearer.
They can be removed if/when we remove the '-i' flag, but the runtime
package is less likely to become stale because it does not have cgo
dependencies.
Fixes #46347
Updates #33598
Updates #35459
Updates #41696
Change-Id: I7b0a808addd930f9f4911ff53ded62272af75a40
Reviewed-on: https://go-review.googlesource.com/c/go/+/322629
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Jay Conrod <jayconrod@google.com>
Diffstat (limited to 'src/net/http')
0 files changed, 0 insertions, 0 deletions
