vendor/cmd/go: fix TestConvertLegacyConfig

"vgo build" caches to $GOPATH, which defaults to $HOME/go. Therefore,
tests of a "build" command must set at least one of {$GOPATH, $HOME}.

Updates golang/go#25501.

Change-Id: I798a0b180c3d8c4850e9a54e303bbcef1bab5faf
Reviewed-on: https://go-review.googlesource.com/117235
Reviewed-by: Russ Cox <rsc@golang.org>
1 file changed
tree: e82dd7f13f8a209354490dd00429c505e71618ba
  1. AUTHORS
  2. CONTRIBUTING.md
  3. CONTRIBUTORS
  4. LICENSE
  5. PATENTS
  6. README.md
  7. codereview.cfg
  8. main.go
  9. vendor/
README.md

Versioned Go Prototype (vgo)

This repository holds a prototype of what the go command might look like with integrated support for package versioning.

See research.swtch.com/vgo for documents about the design.

Download/Install

Use go get -u golang.org/x/vgo.

You can also manually git clone the repository to $GOPATH/src/golang.org/x/vgo.

Report Issues / Send Patches

See CONTRIBUTING.md.

This is still a very early prototype. You are likely to run into bugs. Please file bugs in the main Go issue tracker, golang.org/issue, and put the prefix x/vgo: in the issue title.

Thank you.