From 9c4799b7e7627b21f2748458e46d697c3ee4981e Mon Sep 17 00:00:00 2001 From: Tim Ruffles Date: Mon, 24 Feb 2014 23:07:40 +0000 Subject: [PATCH] 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 (github: github_handle) --- docs/sources/contributing/devenvironment.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/sources/contributing/devenvironment.rst b/docs/sources/contributing/devenvironment.rst index f0a1398d70..42e6f9be84 100644 --- a/docs/sources/contributing/devenvironment.rst +++ b/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 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