diff --git a/cov.sh b/cov.sh index 7d13c8c96..9f2a87a47 100755 --- a/cov.sh +++ b/cov.sh @@ -15,7 +15,7 @@ if ! type kcov > /dev/null; then exit 1 fi -cargo test --no-run || exit 2 +cargo test --no-run || exit $? mkdir -p target/coverage kcov --exclude-pattern ~/.multirust --include-pattern src --verify target/coverage target/debug/ethcore* xdg-open target/coverage/index.html