mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #7868 from baloo/patch-1
Switch TESTFLAGS to use `-test.run` instead of `-run`
This commit is contained in:
commit
60ab9eaf4a
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ something like this
|
||||||
If $TESTFLAGS is set in the environment, it is passed as extra arguments
|
If $TESTFLAGS is set in the environment, it is passed as 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=`-run \^TestBuild\$` make test
|
$ TESTFLAGS=`-test.run \^TestBuild\$` make test
|
||||||
|
|
||||||
If the output indicates "FAIL" and you see errors like this:
|
If the output indicates "FAIL" and you see errors like this:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue