Revision ae1488f592e0867099947cb1cf14ba69c6ac9f4f authored by William Banfield on 03 February 2022, 19:39:07 UTC, committed by William Banfield on 07 February 2022, 21:06:37 UTC
1 parent f738fe6
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
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...