https://github.com/tendermint/tendermint
Raw File
Tip revision: 312a505f217ea875e711b4dbc0b69e458bfe7216 authored by samricotta on 02 August 2022, 09:55:55 UTC
Optimize ABCI Response Information and flag to save ABCI results #8028 #8946 (#9090)
Tip revision: 312a505
test_cover.sh
#! /bin/bash

PKGS=$(go list github.com/tendermint/tendermint/...)

set -e

echo "mode: atomic" > coverage.txt
for pkg in ${PKGS[@]}; do
	go test -timeout 5m -race -coverprofile=profile.out "$pkg"
	if [ -f profile.out ]; then
		tail -n +2 profile.out >> coverage.txt;
		rm profile.out
	fi
done
back to top