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

-test.h not documented #4328

Closed
gopherbot opened this issue Nov 1, 2012 · 1 comment
Closed

-test.h not documented #4328

gopherbot opened this issue Nov 1, 2012 · 1 comment
Milestone

Comments

@gopherbot
Copy link
Contributor

by john.arbash.meinel:

Before filing a bug, please check whether it has been fixed since the
latest release. Search the issue tracker and check that you're running the
latest version of Go:

Run "go version" and compare against
http://golang.org/doc/devel/release.html  If a newer version of Go exists,
install it and retry what you did to reproduce the problem.

Thanks.

What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.
1. run "go test -test.h" to get a list of flags you can pass, Note that
"-test.h" is not actually listed
2. run "go help testflag" and notice that "-test.h" is not listed

What is the expected output?

In 'go help testflag' I would expect something like:
 -test.h
   get a list of flags that can be supplied to the test runner
And in 'go test -test.h'
 -test.h Print this help text

Somebody pointed me to '-test.h' to determine what flags the test suite could take, but
that wasn't exposed anywhere else (even supplying invalid flags doesn't tell you how to
get the list of valid flags.)


Which compiler are you using (5g, 6g, 8g, gccgo)?


Which operating system are you using?

Ubuntu Precise


Which version are you using?  (run 'go version')
go version go1.0.2
@rsc
Copy link
Contributor

rsc commented Nov 1, 2012

Comment 1:

There is no -test.h flag.
You are seeing the help text that gets printed for any unrecognized flag.

Status changed to WorkingAsIntended.

@rsc rsc added this to the Go1.1 milestone Apr 14, 2015
@rsc rsc removed the go1.1 label Apr 14, 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

2 participants