https://github.com/tendermint/tendermint
Raw File
Tip revision: 7983f9cc36c31e140e46ae5cb00ed39f637ef283 authored by M. J. Fromberger on 26 January 2022, 19:04:09 UTC
Prepare changelog for v0.35.1 release. (#7702)
Tip revision: 7983f9c
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