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:
commit
54b59c2b2f
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue