]> Cypherpunks repositories - gostls13.git/commit
cmd/go: convert TestExecutableGOROOT to the script framework
authorMichael Matloob <matloob@golang.org>
Thu, 20 Feb 2020 20:49:25 +0000 (15:49 -0500)
committerMichael Matloob <matloob@golang.org>
Thu, 20 Feb 2020 21:22:28 +0000 (21:22 +0000)
commitb28a07e75fc598d9b65c2049fae03caf3efc368e
treebc2734fbff8da4f9d5220bb747b3029ac852c604
parent6396bc9df705310c9e7848773154960b7c92978c
cmd/go: convert TestExecutableGOROOT to the script framework

Part of converting all tests to the script framework, but also
just working around flakiness when adding t.Parallel to
TestExecutableGOROOT.

Also, undo the changes to copyFile in golang.org/cl/220317 because
they didn't help.

Fixes #37306

Change-Id: I3348fa1d8f2589febe89604ac19a21df20075c4c
Reviewed-on: https://go-review.googlesource.com/c/go/+/220319
Run-TryBot: Michael Matloob <matloob@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/go/go_test.go
src/cmd/go/testdata/print_goroot.go [deleted file]
src/cmd/go/testdata/script/goroot_executable.txt [new file with mode: 0644]