Print coverage info while running tests

This commit is contained in:
Abhishek Chanda 2015-10-06 19:13:04 -07:00
parent ec2e3d4f49
commit 81f1f6832f
1 changed files with 1 additions and 1 deletions

View File

@ -10,4 +10,4 @@ go build -o $TEMPDIR/nomad || exit 1
# Run the tests
echo "--> Running tests"
go list ./... | PATH=$TEMPDIR:$PATH xargs -n1 go test -timeout=40s
go list ./... | PATH=$TEMPDIR:$PATH xargs -n1 go test -cover -timeout=40s