admin/coverage: pass script args to all llvm-cov calls

This allows the new, nightly-only, `--branch` argument to
get everywhere it needs to.  That enables branch coverage
tracking.

Example use:

$ ./admin/coverage --branch --html --open
This commit is contained in:
Joe Birr-Pixton 2024-03-19 21:26:33 +00:00
parent a3d21f24da
commit 03e44999a5
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
set -e
source <(cargo llvm-cov show-env --export-prefix)
source <(cargo llvm-cov show-env --export-prefix "$@")
cargo llvm-cov clean --workspace
cargo build --locked --all-targets --all-features