]> Cypherpunks repositories - gostls13.git/commit
Revert "cmd/go: move automatic testing.Init call into generated test code"
authorBryan C. Mills <bcmills@google.com>
Thu, 18 Jul 2019 21:34:59 +0000 (17:34 -0400)
committerBryan C. Mills <bcmills@google.com>
Mon, 22 Jul 2019 21:42:51 +0000 (21:42 +0000)
commit5e21032b3d179a8bc0d9e70e4725629defad9d8b
treef10f5f4845b799a02397feda3d8a78a247d69e14
parentf518a96e009157c51f8ecf619032bbb7873228f9
Revert "cmd/go: move automatic testing.Init call into generated test code"

This reverts CL 176098.

Reason for revert: added complexity, but did not completely fix the
underlying problem. A complete solution would not be worth the
complexity, and as a partial solution this is probably not worth the
complexity either.

Updates #31859

Change-Id: Ifd34c292fd1b811c60afe3c339e5edd3f37190c8
Reviewed-on: https://go-review.googlesource.com/c/go/+/186817
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Caleb Spare <cespare@gmail.com>
src/cmd/go/go_test.go
src/cmd/go/internal/list/list.go
src/cmd/go/internal/load/pkg.go
src/cmd/go/internal/load/test.go
src/cmd/go/internal/test/test.go
src/cmd/go/internal/work/exec.go
src/cmd/go/testdata/flag_test.go
src/cmd/go/testdata/script/test_init.txt [deleted file]
src/cmd/go/testdata/standalone_testmain_flag_test.go [new file with mode: 0644]
src/testing/testing.go