mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-21 17:21:34 +03:00
11 lines
393 B
Batchfile
11 lines
393 B
Batchfile
|
cargo clean
|
||
|
cd parser
|
||
|
set RUSTFLAGS=-Cinstrument-coverage
|
||
|
cargo +nightly build
|
||
|
set LLVM_PROFILE_FILE=../target/out/leo_coverage-%%p-%%m.profraw
|
||
|
cargo +nightly 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 ..
|
||
|
del default.profraw
|
||
|
set RUSTFLAGS=
|
||
|
set LLVM_PROFILE_FILE=
|