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

Merge pull request #10632 from chenhanxiao/update-TESTFLAGS-docs

docs: emphasis TESTFLAGS and add some descriptions
This commit is contained in:
Sven Dowideit 2015-02-11 12:36:43 +10:00
commit 54b59c2b2f

View file

@ -126,11 +126,13 @@ something like this
PASS PASS
ok github.com/docker/docker/utils 0.017s 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., to `go test`. You can use this to select certain tests to run, e.g.,
$ TESTFLAGS='-test.run \^TestBuild\$' make test $ 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: 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 server.go:1302 Error: Insertion failed because database is full: database or disk is full