]> Cypherpunks repositories - gostls13.git/commit
cmd/go: add go command known variables to test cache hash
authorLE Manh Cuong <cuong.manhle.vn@gmail.com>
Tue, 28 May 2019 16:07:56 +0000 (23:07 +0700)
committerJay Conrod <jayconrod@google.com>
Mon, 15 Jul 2019 16:28:58 +0000 (16:28 +0000)
commit4b3658880752ca30a2ad5f2dc33a9bee9ff91de4
tree8f69d0d4d16d01a53736e37da335a0f29b970439
parent89d300b821551c9955414caf3066ae602813f6ea
cmd/go: add go command known variables to test cache hash

The go test result must not be cached when each of known variables to go
command change.

To do this, add all known variables to test metadata.

Fixes #32285

Change-Id: I90be6a72f46c42d965aec4fed534c0623244cd3d
Reviewed-on: https://go-review.googlesource.com/c/go/+/179040
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Jay Conrod <jayconrod@google.com>
src/cmd/go/internal/cfg/cfg.go
src/cmd/go/testdata/script/test_go111module_cache.txt [new file with mode: 0644]
src/go/build/deps_test.go
src/internal/cfg/cfg.go [new file with mode: 0644]
src/internal/testenv/testenv.go