chore: tee coverage test stderr (#27551)
* chore: tee coverage test stderr * chore: add --no-capture
This commit is contained in:
parent
0367c1a60c
commit
4071dc3cac
|
@ -79,7 +79,7 @@ NPROC=$(nproc)
|
|||
JOBS=$((JOBS>NPROC ? NPROC : JOBS))
|
||||
|
||||
RUST_LOG=solana=trace _ "$cargo" nightly test --jobs "$JOBS" --target-dir target/cov --no-run "${packages[@]}"
|
||||
if RUST_LOG=solana=trace _ "$cargo" nightly test --jobs "$JOBS" --target-dir target/cov "${packages[@]}" 2> target/cov/coverage-stderr.log; then
|
||||
if RUST_LOG=solana=trace _ "$cargo" nightly test --jobs "$JOBS" --target-dir target/cov "${packages[@]}" -- --nocapture 2> >(tee target/cov/coverage-stderr.log >&2); then
|
||||
test_status=0
|
||||
else
|
||||
test_status=$?
|
||||
|
|
Loading…
Reference in New Issue