* Bump Tendermint version to v0.33.0 * Deprecate old cmn package with new packages * Update update DB APIs * More DB updates * Bump IAVL to v0.13.0 * Handle error returned by iavl.NewMutableTree * Fix some IAVL stuffs * Update IAVL * More updates * Passing tests * Fix unit tests Co-authored-by: Jack Zampolin <jack.zampolin@gmail.com>
15 lines
371 B
Bash
15 lines
371 B
Bash
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
PKGS=$(go list ./... | grep -v '/simapp')
|
|
|
|
set -e
|
|
echo "mode: atomic" > coverage.txt
|
|
for pkg in ${PKGS[@]}; do
|
|
go test -v -timeout 30m -race -coverprofile=profile.out -covermode=atomic -tags='ledger test_ledger_mock' "$pkg"
|
|
if [ -f profile.out ]; then
|
|
tail -n +2 profile.out >> coverage.txt;
|
|
rm profile.out
|
|
fi
|
|
done
|