tools/go/internal/gcimporter
Diogo Pinela 6d71ab8aad go/internal/gcimporter: ensure tests pass even if GOROOT is read-only
This mainly entails writing compiler output files to a temporary
directory, as well as the corrupted files in TestVersionHandling.

This is a backport of CL 146119.

Fixes golang/go#28644

Change-Id: I5701fe3fda7d6364411eef8265c575c279dbf9a1
Reviewed-on: https://go-review.googlesource.com/c/149017
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
2018-11-11 00:37:25 +00:00
..
testdata go/internal/gcimporter, gccgoimporter: updated to match latest version in std lib 2018-06-13 15:25:57 +00:00
bexport.go go/internal/gcimporter: remove support for Go versions < Go 1.10 2018-10-19 17:49:27 +00:00
bexport_test.go go/internal/gcimporter: remove support for Go versions < Go 1.10 2018-10-19 17:49:27 +00:00
bimport.go go/internal/gcimporter: use types.NewInterface (not NewInterface2) for builds before Go 1.11 2018-06-13 17:48:59 +00:00
exportdata.go go/internal/gcimporter: rename from go/gcimporter15 2018-04-10 13:03:03 +00:00
gcimporter.go go/internal/gcimporter: update gcimporter.go to incorporate std lib changes 2018-10-19 17:52:01 +00:00
gcimporter11_test.go go/internal/gcimporter: ensure tests pass even if GOROOT is read-only 2018-11-11 00:37:25 +00:00
gcimporter_test.go go/internal/gcimporter: ensure tests pass even if GOROOT is read-only 2018-11-11 00:37:25 +00:00
iimport.go go/internal/gcimporter: missed a NewInterface2 call in prior CL 2018-06-13 18:12:16 +00:00
newInterface10.go go/internal/gcimporter: move 1.11 specific tests out of non-1.11 builds (fix build) 2018-06-13 19:12:07 +00:00
newInterface11.go go/internal/gcimporter,gccgoimporter: use types.NewInterfaceType 2018-06-26 17:42:40 +00:00