]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: disable test caching during run.bash
authorRuss Cox <rsc@golang.org>
Wed, 29 Nov 2017 19:16:25 +0000 (14:16 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 5 Dec 2017 18:42:38 +0000 (18:42 +0000)
commit49fec9b488177f2f212c5f6746203c519ae02264
treee53ac22dcf320f12530b93efc1104a29310e46b2
parenta3c1a867e6e8516d031b540a11b3798cef04ffae
cmd/dist: disable test caching during run.bash

Sometimes people use run.bash repeatedly
or run go tool dist test by hand for cgo tests.
Avoid test caching in that case, by request.

Refactor code so that all go test commands
share a common prefix.

If not caching is problematic it will be a one-line
change to turn caching back on.

Fixes #22758.

Change-Id: I17d721b832d97bffe26629d21f85b05dbbf2b3ec
Reviewed-on: https://go-review.googlesource.com/80735
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/dist/test.go