Speed up tests by doing a go test -i before hand.

This commit is contained in:
Tom Wilkie
2016-01-08 19:30:01 +00:00
parent 3ec519f704
commit 0c4636a2b3

3
test
View File

@@ -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