mirror of
https://github.com/weaveworks/scope.git
synced 2026-08-19 04:16:21 +00:00
Make bin/test download test dependancies.
This commit is contained in:
@@ -51,6 +51,4 @@ deps:
|
||||
github.com/golang/lint/golint \
|
||||
github.com/fzipp/gocyclo \
|
||||
github.com/mattn/goveralls \
|
||||
github.com/mjibson/esc \
|
||||
github.com/davecgh/go-spew/spew \
|
||||
github.com/pmezard/go-difflib/difflib
|
||||
github.com/mjibson/esc
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
echo "mode: count" > profile.cov
|
||||
fail=0
|
||||
for dir in $(find . -type f -name '*_test.go' | grep -v '^./experimental/' | xargs -n1 dirname | sort -u); do
|
||||
go get -t $dir
|
||||
output=$(mktemp cover.XXXXXXXXXX)
|
||||
if ! go test -tags netgo -covermode=count -coverprofile=$output $dir ; then
|
||||
fail=1
|
||||
|
||||
Reference in New Issue
Block a user