Fixed coverage issues

This commit is contained in:
Ryan O'Hara-Reid
2017-07-27 10:56:10 +10:00
committed by Adrian Gallagher
parent 9fd732f32d
commit f302efeb68
2 changed files with 1192 additions and 98 deletions

View File

@@ -4,7 +4,7 @@ set -e
echo "" > coverage.txt
for d in $(go list ./... | grep -v vendor); do
go test -race -coverprofile=profile.out -covermode=atomic $d
go test -race -coverprofile=profile.out -covermode=atomic -cover $d
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out