mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 18:20:27 +00:00
Speed up tests by doing a go test -i before hand.
This commit is contained in:
3
test
3
test
@@ -57,6 +57,9 @@ fi
|
|||||||
|
|
||||||
PACKAGE_BASE=$(go list -e ./)
|
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
|
for dir in $TESTDIRS; do
|
||||||
if [ -z "$NO_GO_GET" ]; then
|
if [ -z "$NO_GO_GET" ]; then
|
||||||
go get -t -tags netgo $dir
|
go get -t -tags netgo $dir
|
||||||
|
|||||||
Reference in New Issue
Block a user