]> Cypherpunks repositories - gostls13.git/commit
cmd/go: run the 'go build' command in TestACL in the temp directory
authorBryan C. Mills <bcmills@google.com>
Wed, 6 Mar 2019 18:34:47 +0000 (13:34 -0500)
committerBryan C. Mills <bcmills@google.com>
Wed, 6 Mar 2019 21:05:50 +0000 (21:05 +0000)
commitedf8539fad89c22a7846196ae2f8920a480c1230
tree4512ed092b792af723a0a8ee13718514ec4b0e10
parent88d719f8092c250f3575cc8e136090b3db65ee15
cmd/go: run the 'go build' command in TestACL in the temp directory

Otherwise, when the 'cmd' module is added the test will run as if in module 'cmd'.

While we're here, remove an unnecessary os.Chdir in TestAbsolutePath:
we can instead set the Dir on the 'go build' command instead. Then we
can run the tests in this file in parallel with everything else.

Updates #30228

Change-Id: I13ecd7ec93bc1041010daec14d76bac10e0c89be
Reviewed-on: https://go-review.googlesource.com/c/go/+/165744
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Jay Conrod <jayconrod@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/go/go_windows_test.go