Mercurial > lbo > hg > leveldb-rs
view coverage.sh @ 396:cb523d5e6d3b
version_set: Don't trivially move files in a manual compaction
author | Lewin Bormann <lbo@spheniscida.de> |
---|---|
date | Tue, 10 Oct 2017 06:36:58 +0000 |
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