mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-19 07:32:26 +03:00
11 lines
384 B
Bash
11 lines
384 B
Bash
|
cargo clean
|
||
|
cd parser
|
||
|
export RUSTFLAGS=-Cinstrument-coverage
|
||
|
cargo build
|
||
|
export LLVM_PROFILE_FILE=../target/out/leo_coverage-%p-%m.profraw
|
||
|
cargo test -- test::parser_tests --exact --nocapture
|
||
|
grcov ../target/out -s . --binary-path ../target/debug/ -t html --branch --ignore-not-existing -o ../target/debug/coverage/
|
||
|
cd ..
|
||
|
rm default.profraw
|
||
|
export RUSTFLAGS=
|
||
|
export LLVM_PROFILE_FILE=
|