test: shellcheck

This commit is contained in:
Ethan Buchman
2017-02-20 18:51:00 -05:00
parent 2b1b8da58d
commit 1fa6e7f3b1
5 changed files with 29 additions and 29 deletions

View File

@@ -5,7 +5,7 @@ PKGS=$(go list github.com/tendermint/tendermint/... | grep -v /vendor/)
set -e
echo "mode: atomic" > coverage.txt
for pkg in ${PKGS[@]}; do
go test -v -timeout 30m -race -coverprofile=profile.out -covermode=atomic $pkg
go test -v -timeout 30m -race -coverprofile=profile.out -covermode=atomic "$pkg"
if [ -f profile.out ]; then
tail -n +2 profile.out >> coverage.txt;
rm profile.out