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: suggest 'go test -i [args to test]' #3023

Closed
bradfitz opened this issue Feb 15, 2012 · 5 comments
Closed

cmd/go: suggest 'go test -i [args to test]' #3023

bradfitz opened this issue Feb 15, 2012 · 5 comments
Milestone

Comments

@bradfitz
Copy link
Contributor

bradfitz@bradfitzlap:~/go/src/pkg/bytes$ go test -i
bradfitz@bradfitzlap:~/go/src/pkg/bytes$ go test bytes strings
warning: building out-of-date packages:
   log
installing these packages with 'go test -i' will speed future tests.

ok      bytes   0.350s
ok      strings 0.516s
bradfitz@bradfitzlap:~/go/src/pkg/bytes$ go test -i
bradfitz@bradfitzlap:~/go/src/pkg/bytes$ go test bytes strings
warning: building out-of-date packages:
   log
installing these packages with 'go test -i' will speed future tests.

ok      bytes   0.348s
ok      strings 0.524s
@minux
Copy link
Member

minux commented Feb 15, 2012

Comment 1:

Have you tried 'go test -i bytes strings' before 'go test bytes strings'?
This is because pkg log is only used by strings/replace_test.go.

@minux
Copy link
Member

minux commented Feb 15, 2012

Comment 2:

I think the message from 'go test' is misleading...
It should say "installing these packages with 'go test -i bytes strings' will speed
future tests."
If you agree, I will submit a CL for this.

@rsc
Copy link
Contributor

rsc commented Feb 15, 2012

Comment 3:

Sure

@rsc
Copy link
Contributor

rsc commented Feb 15, 2012

Comment 4:

Labels changed: added priority-go1, go1-must, removed priority-triage.

Status changed to Accepted.

@rsc
Copy link
Contributor

rsc commented Feb 15, 2012

Comment 5:

This issue was closed by revision 53d94a7.

Status changed to Fixed.

@rsc rsc added this to the Go1 milestone Apr 10, 2015
@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
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

4 participants