diff --git a/test b/test index 73a5952ef..5b88d5270 100755 --- a/test +++ b/test @@ -57,6 +57,9 @@ fi PACKAGE_BASE=$(go list -e ./) +# Speed up the tests by compiling and installing their dependancies first. +go test -i $GO_TEST_ARGS $TESTDIRS + for dir in $TESTDIRS; do if [ -z "$NO_GO_GET" ]; then go get -t -tags netgo $dir