Browse code

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

Arthur Gautier authored on 2014/09/04 02:06:25
Showing 1 changed files
... ...
@@ -115,7 +115,7 @@ something like this
115 115
 If $TESTFLAGS is set in the environment, it is passed as extra arguments
116 116
 to `go test`. You can use this to select certain tests to run, e.g.,
117 117
 
118
-    $ TESTFLAGS=`-run \^TestBuild\$` make test
118
+    $ TESTFLAGS=`-test.run \^TestBuild\$` make test
119 119
 
120 120
 If the output indicates "FAIL" and you see errors like this:
121 121