The correct option for go test is -test.run not -run

Upstream-commit: 2a7770a712758e9d5071cedd8e44352953bdef72
Component: engine
This commit is contained in:
Arthur Gautier
2014-09-03 19:06:25 +02:00
parent 0800bd7997
commit ee05b11eb0

View File

@ -115,7 +115,7 @@ something like this
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.,
$ TESTFLAGS=`-run \^TestBuild\$` make test
$ TESTFLAGS=`-test.run \^TestBuild\$` make test
If the output indicates "FAIL" and you see errors like this: