https://github.com/tendermint/tendermint
Raw File
Tip revision: d82f4550fac41c49facddcf5cb4a9042c92274e5 authored by William Banfield on 10 January 2022, 20:56:59 UTC
metrics: add metric for count of untimely proposals
Tip revision: d82f455
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