]> Cypherpunks repositories - gostls13.git/commit
cmd/go: fix the rebuilding stale packages test
authorYury Smolsky <yury@smolsky.by>
Thu, 29 Mar 2018 16:52:31 +0000 (19:52 +0300)
committerIan Lance Taylor <iant@golang.org>
Wed, 9 May 2018 21:14:24 +0000 (21:14 +0000)
commit3e297120fdf306507496e1dd650fd86ebb9aeb36
treed024a107275e19717b11c061de1134d2f5fba2dd
parentdf480036185715432a6e3f740e65bceed26c748f
cmd/go: fix the rebuilding stale packages test

Non-main packages do not depend on the "runtime" package,
but main packages still do. Use a main package in the test.

This change passes the -i flag to the install command
to allow installation of updated dependencies,
and removes "install std" as unnecessary.

https://golang.org/cl/107957 is relevant to fixed test.

Updates #24436

Change-Id: If1845f37581a16ad77e72e50be21010e198bc7c5
Reviewed-on: https://go-review.googlesource.com/103675
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/go/go_test.go