Skip to content
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: go test fails with GO15VENDOREXPERIMENT=1 #11977

Closed
toxeus opened this issue Aug 1, 2015 · 1 comment
Closed

cmd/go: go test fails with GO15VENDOREXPERIMENT=1 #11977

toxeus opened this issue Aug 1, 2015 · 1 comment
Milestone

Comments

@toxeus
Copy link

toxeus commented Aug 1, 2015

Steps to reproduce (using go1.5beta3):

  • works:
export GO15VENDOREXPERIMENT=1
go get gopkg.in/check.v1
cd $GOPATH/src/gopkg.in/check.v1
go test ./...

ok      gopkg.in/check.v1       0.179s
  • but then this fails:
mkdir -p $GOPATH/src/mypkg/vendor/gopkg.in/
cp -r $GOPATH/src/gopkg.in/check.v1 $GOPATH/src/mypkg/vendor/gopkg.in/
cd $GOPATH/src/mypkg
go test ./...

# mypkg/vendor/gopkg.in/check.v1_test
vendor/gopkg.in/check.v1/printer_test.go:81: undefined: PrintLine
vendor/gopkg.in/check.v1/printer_test.go:100: undefined: Indent
FAIL    mypkg/vendor/gopkg.in/check.v1 [build failed]
@ianlancetaylor ianlancetaylor added this to the Go1.5 milestone Aug 3, 2015
rsc added a commit to rsc/go-get-issue-11864 that referenced this issue Aug 5, 2015
@gopherbot
Copy link

CL https://golang.org/cl/13230 mentions this issue.

@rsc rsc closed this as completed in 0fb87ab Aug 5, 2015
@golang golang locked and limited conversation to collaborators Aug 5, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants