Enable integration test logging for better debug on CI failure
This commit is contained in:
@ -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
|
||||
(
|
||||
|
Reference in New Issue
Block a user