mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime: remove stale runtime check in tests
The check is not relevant anymore. The comment claims that go run does not rebuild packages, but this is not true. And we use go build anyway. We may have added the check because without caching rebuilding everything starting from runtime for each test takes a while. But now we have caching. So from every side this check just adds code and pain. Change-Id: Ifbbb643724100622e5f9db884339b67cde4ba729 Reviewed-on: https://go-review.googlesource.com/c/go/+/202450 Run-TryBot: Dmitry Vyukov <dvyukov@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
61089984a8
commit
0ea7440139
2 changed files with 0 additions and 32 deletions
|
|
@ -78,8 +78,6 @@ func TestCrashDumpsAllThreads(t *testing.T) {
|
|||
|
||||
testenv.MustHaveGoBuild(t)
|
||||
|
||||
checkStaleRuntime(t)
|
||||
|
||||
t.Parallel()
|
||||
|
||||
dir, err := ioutil.TempDir("", "go-build")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue