https://github.com/tendermint/tendermint
Raw File
Tip revision: 12a0559d672ae51d5731ec8d89f0786f86448384 authored by M. J. Fromberger on 26 May 2022, 16:08:41 UTC
Prepare changelog for release v0.35.5. (#8601)
Tip revision: 12a0559
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