https://github.com/tendermint/tendermint
Raw File
Tip revision: 75a628316d8a81c77deb475f0498c5740789c763 authored by William Banfield on 14 July 2022, 20:19:53 UTC
config: update config to reflect simple-priority queue (#9007)
Tip revision: 75a6283
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