1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

docs: emphasis TESTFLAGS and add some descriptions

Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
This commit is contained in:
Chen Hanxiao 2015-02-10 15:34:33 +08:00
parent c03d6f57b6
commit d83b6918a7

View file

@ -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