Hi, I think you've got a bit confused here. If you want to run the tests of a package in the standard library; you must use the source that matches the version of Go you have installed; that is the version in $(go env GOROOT).
Try this command go test -bench=. crypto/tls On Sunday, 22 October 2017 10:05:49 UTC+11, Leon Klingele wrote: > > So how _do_ I run the crypto/tls benchmarks of github.com/golang/go? > > $ cd $GOPATH/src/github.com/golang/go/src/crypto/tls > $ git rev-parse HEAD > 5f740d6875ab6961381f2f4614b21ff6ddf448a4 > $ go test -bench=. > common.go:10:2: use of internal package not allowed > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.