mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-21 09:11:39 +03:00
11 lines
384 B
Bash
Executable File
11 lines
384 B
Bash
Executable File
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= |