Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

run integration tests serially #1532

Merged
merged 2 commits into from
Oct 17, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion ci/test-stable-perf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,15 @@ _() {
"$@"
}

_ cargo test --features=cuda,erasure,chacha
FEATURES=cuda,erasure,chacha
_ cargo test --verbose --features="$FEATURES" --lib

# Run integration tests serially
for test in tests/*.rs; do
test=${test##*/} # basename x
test=${test%.rs} # basename x .rs
_ cargo test --verbose --jobs=1 --features="$FEATURES" --test="$test"
done

echo --- ci/localnet-sanity.sh
(
Expand Down
9 changes: 8 additions & 1 deletion ci/test-stable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,16 @@ _() {

_ cargo fmt -- --check
_ cargo build --verbose
_ cargo test --verbose
_ cargo test --verbose --lib
_ cargo clippy -- --deny=warnings

# Run integration tests serially
for test in tests/*.rs; do
test=${test##*/} # basename x
test=${test%.rs} # basename x .rs
_ cargo test --verbose --jobs=1 --test="$test"
done

echo --- ci/localnet-sanity.sh
(
set -x
Expand Down