Commit 212cb037 authored by Andrew Gerrand's avatar Andrew Gerrand

cmd/go: clarify what "pkg.test" means wrt the -c flag

Fixes #5230.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/8507043
parent bfcd2d1e
...@@ -410,6 +410,7 @@ non-test installation. ...@@ -410,6 +410,7 @@ non-test installation.
In addition to the build flags, the flags handled by 'go test' itself are: In addition to the build flags, the flags handled by 'go test' itself are:
-c Compile the test binary to pkg.test but do not run it. -c Compile the test binary to pkg.test but do not run it.
(Where pkg is the last element of the package's import path.)
-i -i
Install packages that are dependencies of the test. Install packages that are dependencies of the test.
......
...@@ -62,6 +62,7 @@ non-test installation. ...@@ -62,6 +62,7 @@ non-test installation.
In addition to the build flags, the flags handled by 'go test' itself are: In addition to the build flags, the flags handled by 'go test' itself are:
-c Compile the test binary to pkg.test but do not run it. -c Compile the test binary to pkg.test but do not run it.
(Where pkg is the last element of the package's import path.)
-i -i
Install packages that are dependencies of the test. Install packages that are dependencies of the test.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment