https://github.com/tendermint/tendermint
Raw File
Tip revision: e08b3ca94e0f66b99f89235364aef6db417ea1e2 authored by William Banfield on 20 August 2021, 19:10:09 UTC
adr: final language fixes
Tip revision: e08b3ca
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 -covermode=atomic "$pkg"
	if [ -f profile.out ]; then
		tail -n +2 profile.out >> coverage.txt;
		rm profile.out
	fi
done
back to top