mirror of https://github.com/ctz/rustls
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:
parent
a3d21f24da
commit
03e44999a5
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
source <(cargo llvm-cov show-env --export-prefix)
|
source <(cargo llvm-cov show-env --export-prefix "$@")
|
||||||
cargo llvm-cov clean --workspace
|
cargo llvm-cov clean --workspace
|
||||||
|
|
||||||
cargo build --locked --all-targets --all-features
|
cargo build --locked --all-targets --all-features
|
||||||
|
|
Loading…
Reference in New Issue