Merge pull request #298 from ethcore/nvolf

cov.sh to show coverage locally
This commit is contained in:
Arkadiy Paronyan 2016-02-02 14:48:10 +01:00
commit 60aa0d6799

4
cov.sh
View File

@ -15,7 +15,7 @@ if ! type kcov > /dev/null; then
exit 1 exit 1
fi fi
cargo test --no-run || exit $? cargo test -p ethcore --no-run || exit $?
mkdir -p target/coverage mkdir -p target/coverage
kcov --exclude-pattern ~/.multirust,rocksdb,secp256k1 --include-pattern src --verify target/coverage target/debug/ethcore* kcov --exclude-pattern ~/.multirust,rocksdb,secp256k1 --include-pattern src --verify target/coverage target/debug/deps/ethcore*
xdg-open target/coverage/index.html xdg-open target/coverage/index.html