Skip to content

Commit

Permalink
Make bin/test download test dependancies.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Wilkie committed May 22, 2015
1 parent 8dae139 commit f11168c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 change: 1 addition & 0 deletions bin/test
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f11168c

Please sign in to comment.