Mercurial > lbo > hg > leveldb-rs
view coverage.sh @ 527:deb79bf7f240
fix warnings
author | João Oliveira <hello@jxs.pt> |
---|---|
date | Mon, 18 May 2020 23:50:41 +0100 |
parents | d202298abc3b |
children | 6887e24fd83f |
line wrap: on
line source
#!/bin/bash KCOV=kcov KCOV_OPTS="--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\/deps\// { print $2 }') echo $TEST_BIN ${KCOV} ${KCOV_OPTS} ${KCOV_OUT} ${TEST_BIN} && xdg-open ${KCOV_OUT}/index.html