New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/go: possible regression in go test outside of GOPATH #18778
Comments
To @rsc for cmd/go triage. |
Looks like the root directory matched by Line 701 in ea73649
Probably made no difference before https://golang.org/cl/31668/. |
@vcabbage thanks for doing the investigation. @rsc / @bradfitz since this is a regression in 1.8, do you think we could have this fixed in RC3? |
The docs seem pretty clear that "..." is used with It's an easy fix, though. Sent CL 35646. @rsc can decide. |
CL https://golang.org/cl/35646 mentions this issue. |
@ianlancetaylor I'd be happy if this remains as it is but we just have either a better error in this case and document this as a bug fix in the release notes. Thank you for your CL! |
What version of Go are you using (
go version
)?go version go1.8rc1 linux/amd64
go version go1.8rc2 windows/amd64
What operating system and processor architecture are you using (
go env
)?What did you do?
Run
go test ./...
in a folder containing Go files outside of GOPATHWhat did you expect to see?
In Go 1.7 or below this used to work
What did you see instead?
The following error message:
I am currently conflicted if this is a regression or a bug fix but the error message is unclear.
Thank you
The text was updated successfully, but these errors were encountered: