Skip to content

Commit

Permalink
Widen the code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
lu-zero committed Jun 21, 2021
1 parent 30b55b0 commit d18ade0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,19 @@ cargo build
cargo test
unset RUSTFLAGS

target/debug/cargo-capi capi --help
target/debug/cargo-capi capi test --manifest-path=example-project/Cargo.toml
target/debug/cargo-capi capi clean --manifest-path=example-project/Cargo.toml
target/debug/cargo-capi capi build --manifest-path=example-project/Cargo.toml

target/debug/cargo-cbuild --help
target/debug/cargo-cbuild clean --manifest-path=example-project/Cargo.toml
target/debug/cargo-cbuild cbuild --manifest-path=example-project/Cargo.toml
target/debug/cargo-ctest metadata --help
target/debug/cargo-ctest ctest --manifest-path=example-project/Cargo.toml

target/debug/cargo-cinstall --help
target/debug/cargo-cinstall cinstall --manifest-path=example-project/Cargo.toml --destdir=/tmp/staging
target/debug/cargo-cinstall cinstall clean --manifest-path=example-project/Cargo.toml

grcov . --binary-path target/debug/deps/ -s . -t lcov --branch --ignore-not-existing --ignore '../**' --ignore '/*' -o coverage.lcov

0 comments on commit d18ade0

Please sign in to comment.