1
0
mirror of https://github.com/golang/go synced 2024-11-22 14:54:46 -07:00
go/misc
Elias Naur 746f405f98 cmd/go,misc/ios: fix tests on iOS
Now that modules are always on, cmd/go tests require a valid
GOCACHE. However, on iOS where the go tool is not available, the
cmd/go test driver ends up setting GOCACHE to the empty string.
Fix it by falling back to the builtin default cache directory.

The iOS exec wrapper passes the environment variables to the app
on the device, including $HOME used for the default cache directory.
Skip $HOME to let the device specific and writable $HOME be used
instead.

Should fix cmd/go on the iOS builders that broke when GO111MODULE
defaulted to on.

Change-Id: I0939f5b8aaa1d2db95e64c99f4130eee2d0b4d4d
Reviewed-on: https://go-review.googlesource.com/c/go/+/167938
Run-TryBot: Elias Naur <mail@eliasnaur.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-03-17 17:00:42 +00:00
..
android misc/android: copy go.mod and go.sum files 2019-03-15 17:20:47 +00:00
arm
cgo misc/android: enable many more tests on GOOS=android 2019-03-08 23:32:03 +00:00
chrome/gophertool
ios cmd/go,misc/ios: fix tests on iOS 2019-03-17 17:00:42 +00:00
linkcheck
nacl cmd: refresh cmd/vendor to match 'go mod vendor' 2019-03-11 20:27:03 +00:00
reboot cmd/dist: add a test in misc/reboot to verify that the toolchain can self-bootstrap 2019-03-13 21:16:24 +00:00
swig cmd/go: fix swig support and run swig tests during run.bash 2017-11-16 17:19:19 +00:00
trace misc/trace: update trace_viewer_full.html 2018-04-26 20:26:23 +00:00
wasm misc/wasm: add workaround for missed timeout events 2019-03-14 17:09:32 +00:00
benchcmp
editors
go.mod misc: add go.mod file 2019-02-27 17:47:31 +00:00