add --no-capture to get some logs from flaky tests
This commit is contained in:
parent
167eb01735
commit
fa4bdb4613
|
@ -13,13 +13,13 @@ _() {
|
||||||
}
|
}
|
||||||
|
|
||||||
_ cargo build --all --verbose
|
_ cargo build --all --verbose
|
||||||
_ cargo test --verbose --lib
|
_ cargo test --verbose --lib -- --nocapture
|
||||||
|
|
||||||
# Run integration tests serially
|
# Run integration tests serially
|
||||||
for test in tests/*.rs; do
|
for test in tests/*.rs; do
|
||||||
test=${test##*/} # basename x
|
test=${test##*/} # basename x
|
||||||
test=${test%.rs} # basename x .rs
|
test=${test%.rs} # basename x .rs
|
||||||
_ cargo test --verbose --test="$test" -- --test-threads=1
|
_ cargo test --verbose --test="$test" -- --test-threads=1 --nocapture
|
||||||
done
|
done
|
||||||
|
|
||||||
# Run native program tests
|
# Run native program tests
|
||||||
|
@ -28,7 +28,7 @@ for program in programs/native/*; do
|
||||||
(
|
(
|
||||||
set -x
|
set -x
|
||||||
cd "$program"
|
cd "$program"
|
||||||
cargo test --verbose
|
cargo test --verbose -- --nocapture
|
||||||
)
|
)
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue