Commit 5e902c3b authored by Robert Czechowski's avatar Robert Czechowski
Browse files

Add target for code coverage measurement in Makefile

parent 1802a2b6
Pipeline #743 passed with stages
in 23 minutes and 39 seconds
......@@ -28,3 +28,7 @@ src/ src/db_conn_warning_header.txt src/db_conn_sqlite_new.h
doc: src/
cargo doc --no-deps
echo '<meta http-equiv="refresh" content="0; url=medal">' > target/doc/index.html
grcov: src/
CARGO_INCREMENTAL=0 RUSTFLAGS="-Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort" RUSTDOCFLAGS="-Cpanic=abort" cargo +nightly test
grcov ./target/debug/ -s . -t html --llvm --branch --ignore-not-existing -o ./target/debug/coverage/
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment