https://github.com/tendermint/tendermint
Raw File
Tip revision: 6d7613d9dce4cfba281879dcd15edf3647b4e48b authored by William Banfield on 15 December 2021, 16:49:05 UTC
use currently proposed block in pbts heights
Tip revision: 6d7613d
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