iroha
iroha copied to clipboard
Fix `with_coverage`
After merging #4414 with_coverage
is failing
FYI This is 6th February 2024 report using the new grcov tool from Vasiliy
As of 2cf50c0da I2::Dev::Tests / with_coverage
is failing due to -p iroha_client --test mod
(client/tests/integration/). It seems to happen with the following combination:
-
nightly-2024-04-18
-
RUSTFLAGS="-C instrument-coverage"
-
-p iroha_client --test mod
- not filtered out, because
#[cfg(not(coverage))]
is allowed bycargo-llvm-cov
and does not work withgrcov
- not filtered out, because
I don't know the exact cause, but we can work around this. Just exclude the client integration tests in command without attributes