diff --git a/contrib/test_cover.sh b/contrib/test_cover.sh index 5daac4bd2..f33f178d3 100644 --- a/contrib/test_cover.sh +++ b/contrib/test_cover.sh @@ -1,9 +1,8 @@ #!/usr/bin/env bash set -e -PKGS=$(go list ./... | grep -v '/simapp') +PKGS=($(go list ./... | grep -v '/simapp')) -set -e echo "mode: atomic" > coverage.txt for pkg in ${PKGS[@]}; do go test -v -timeout 30m -coverprofile=profile.out -covermode=atomic -tags='ledger test_ledger_mock' "$pkg"