Pārlūkot izejas kodu

help contributors be more productive

certainly saved me time after I found this in hack/make.sh :)

Docker-DCO-1.1-Signed-off-by: Tim Ruffles <oi@truffles.me.uk> (github: github_handle)
Tim Ruffles 11 gadi atpakaļ
vecāks
revīzija
9c4799b7e7
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3 0
      docs/sources/contributing/devenvironment.rst

+ 3 - 0
docs/sources/contributing/devenvironment.rst

@@ -122,7 +122,10 @@ If the test are successful then the tail of the output should look something lik
 	PASS
 	PASS
 	ok  	github.com/dotcloud/docker/utils	0.017s
 	ok  	github.com/dotcloud/docker/utils	0.017s
 
 
+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, eg.
 
 
+    TESTFLAGS='-run ^TestBuild$' make test
 
 
 
 
 Step 6: Use Docker
 Step 6: Use Docker