Make bin/test download test dependancies.

This commit is contained in:
Tom Wilkie
2015-05-22 15:02:36 +00:00
parent 8dae139bdf
commit f11168c051
2 changed files with 2 additions and 3 deletions
+1 -3
View File
@@ -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
+1
View File
@@ -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