Mercurial > lbo > hg > leveldb-rs
view coverage.sh @ 210:6e1e7c828b69
_cleanup: Introduce Shared<> type for shared mutable objects like tablecaches or file metadata.
author | Lewin Bormann <lbo@spheniscida.de> |
---|---|
date | Wed, 06 Sep 2017 20:09:25 +0200 |
parents | 62c425f76e9a |
children | 76562348cb17 |
line wrap: on
line source
#!/bin/bash KCOV=kcov KCOV_OPTS="--verify --exclude-pattern=/.cargo" KCOV_OUT="./kcov-out/" export RUSTFLAGS="-C link-dead-code" TEST_BIN=$(cargo test 2>&1 >/dev/null | awk '/^ Running target\/debug\// { print $2 }') ${KCOV} ${KCOV_OPTS} ${KCOV_OUT} ${TEST_BIN} && xdg-open ${KCOV_OUT}/index.html