]> Cypherpunks repositories - gostls13.git/commit
test: avoid writing temporary files to GOROOT
authorBryan C. Mills <bcmills@google.com>
Mon, 18 Nov 2019 13:58:58 +0000 (13:58 +0000)
committerBryan C. Mills <bcmills@google.com>
Mon, 18 Nov 2019 14:40:07 +0000 (14:40 +0000)
commitafac2c0508208ce0baf0cf2f0ba9b86ee7b60469
tree5b36426e150e74235bb481e99528475f82d5c9d4
parent2bde3c13f6e31662c682f1b5830c5e3fd9f5494c
test: avoid writing temporary files to GOROOT

This reverts CL 207477, restoring CL 207352 with a fix for the
regression observed in the Windows builders.

cmd/compile evidently does not fully support NUL as an output on
Windows, so this time we write ignored 'compile' outputs
to temporary files (instead of os.DevNull as in CL 207352).

Updates #28387
Fixes #35619

Change-Id: I2edc5727c3738fa1bccb4b74e50d114cf2a7fcff
Reviewed-on: https://go-review.googlesource.com/c/go/+/207602
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/dist/test.go
test/fixedbugs/bug302.go
test/fixedbugs/bug369.go
test/fixedbugs/issue9355.go
test/linkmain_run.go
test/sinit_run.go