]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/testdir: stop manually adding GOROOT/bin to PATH
authorDmitri Shuralyov <dmitshur@golang.org>
Fri, 26 May 2023 00:26:00 +0000 (20:26 -0400)
committerGopher Robot <gobot@golang.org>
Fri, 26 May 2023 20:41:52 +0000 (20:41 +0000)
commit142b012e94c6be50ee07ca42686c4121d188bde5
tree363aec5bbe2839bb4c4177b354b7f1ef47726519
parentd8782e7061fab0644af8d20180a4d3821402787a
cmd/internal/testdir: stop manually adding GOROOT/bin to PATH

The go command already places $GOROOT/bin at the beginning of $PATH in
the test's environment as of Go 1.19¹, so there's no need for the test
to do it anymore. Start enjoying yet another benefit of using 'go test'.

¹ See go.dev/issue/57050.

For #56844.

Change-Id: If7732cd8b8979eabf185485d3c73858a4e546d69
Reviewed-on: https://go-review.googlesource.com/c/go/+/498271
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/cmd/internal/testdir/testdir_test.go