Mercurial > lbo > hg > leveldb-rs
view coverage.sh @ 500:f7ca125617ca
Update README with new features
author | Lewin Bormann <lbo@spheniscida.de> |
---|---|
date | Tue, 03 Dec 2019 09:43:48 +0100 |
parents | 76562348cb17 |
children | d202298abc3b |
line wrap: on
line source
#!/bin/bash KCOV=kcov KCOV_OPTS="--verify --exclude-pattern=/.cargo,/glibc,/usr/lib,/usr/include" 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