2022-02-15 04:25:57 +03:00
|
|
|
cargo clean
|
2022-03-03 01:13:37 +03:00
|
|
|
cd compiler/parser
|
2022-02-15 04:25:57 +03:00
|
|
|
set RUSTFLAGS=-Cinstrument-coverage
|
|
|
|
cargo +nightly build
|
2022-03-03 01:13:37 +03:00
|
|
|
set LLVM_PROFILE_FILE=../../target/out/leo_coverage-%%p-%%m.profraw
|
2022-02-15 04:25:57 +03:00
|
|
|
cargo +nightly test -- test::parser_tests --exact --nocapture
|
2022-03-03 01:13:37 +03:00
|
|
|
grcov ../../target/out -s . --binary-path ../../target/debug/ -t html --branch --ignore-not-existing -o ../../target/debug/coverage/
|
|
|
|
cd ../..
|
2022-02-15 04:25:57 +03:00
|
|
|
del default.profraw
|
|
|
|
set RUSTFLAGS=
|
|
|
|
set LLVM_PROFILE_FILE=
|