docs: emphasis TESTFLAGS and add some descriptions
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com> Upstream-commit: d83b6918a7d18a09f86858709f173277d62c268e Component: engine
This commit is contained in:
@ -126,11 +126,13 @@ something like this
|
||||
PASS
|
||||
ok github.com/docker/docker/utils 0.017s
|
||||
|
||||
If $TESTFLAGS is set in the environment, it is passed as extra arguments
|
||||
If `$TESTFLAGS` is set in the environment, it will pass extra arguments
|
||||
to `go test`. You can use this to select certain tests to run, e.g.,
|
||||
|
||||
$ TESTFLAGS='-test.run \^TestBuild\$' make test
|
||||
|
||||
Only those test cases matching the regular expression inside quotation marks will be tested.
|
||||
|
||||
If the output indicates "FAIL" and you see errors like this:
|
||||
|
||||
server.go:1302 Error: Insertion failed because database is full: database or disk is full
|
||||
|
||||
Reference in New Issue
Block a user