openethereum/sync/cov.sh
2016-02-04 21:09:32 +03:00

10 lines
333 B
Bash
Executable File

if ! type kcov > /dev/null; then
echo "Install kcov first (details inside this file). Aborting."
exit 1
fi
cargo test --no-run || exit $?
mkdir -p target/coverage
kcov --exclude-pattern ~/.multirust,rocksdb,secp256k1 --include-pattern sync/src --verify target/coverage target/debug/ethsync*
xdg-open target/coverage/index.html