separate coverage for util
This commit is contained in:
parent
3f3ebdbfa1
commit
98fc321733
@ -1 +0,0 @@
|
||||
../cov.sh
|
9
util/cov.sh
Executable file
9
util/cov.sh
Executable file
@ -0,0 +1,9 @@
|
||||
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 src --verify target/coverage target/debug/ethcore_util*
|
||||
xdg-open target/coverage/index.html
|
Loading…
Reference in New Issue
Block a user