https://github.com/tendermint/tendermint
Raw File
Tip revision: 5c26db733b0b09e35990e70645e093cab0a3ce45 authored by dependabot[bot] on 30 June 2022, 16:34:43 UTC
build(deps): Bump github.com/stretchr/testify from 1.7.5 to 1.8.0 (#8907)
Tip revision: 5c26db7
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