Enable integration test logging for better debug on CI failure

This commit is contained in:
Michael Vines
2019-01-17 16:26:20 -08:00
parent 8e4a86e329
commit b03d1d8894
2 changed files with 15 additions and 6 deletions

View File

@ -28,11 +28,14 @@ for program in programs/native/*; do
done
# Run integration tests serially
OLD_RUST_LOG=$RUST_LOG
for test in tests/*.rs wallet/tests/*.rs drone/tests/*.rs; do
test=${test##*/} # basename x
test=${test%.rs} # basename x .rs
export RUST_LOG="$test"=trace
_ cargo test --all --verbose --features="$FEATURES" --test="$test" -- --test-threads=1 --nocapture
done
RUST_LOG=$OLD_RUST_LOG
echo --- ci/localnet-sanity.sh
(