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

Commit

Permalink
run integration tests serially
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-solana committed Oct 17, 2018
1 parent ff4c974 commit 7717766
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
9 changes: 6 additions & 3 deletions ci/test-stable-perf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,14 @@ _() {
}

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

# Run integration tests serially
# shellcheck disable=SC2016
_ find tests -type file -exec sh -c 'echo --test=$(basename ${0%.*})' {} \; | xargs cargo test --verbose --jobs=1 --features=$FEATURES
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
7 changes: 5 additions & 2 deletions ci/test-stable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@ _ cargo test --verbose --lib
_ cargo clippy -- --deny=warnings

# Run integration tests serially
# shellcheck disable=SC2016
_ find tests -type file -exec sh -c 'echo --test=$(basename ${0%.*})' {} \; | xargs cargo test --verbose --jobs=1
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
(
Expand Down

0 comments on commit 7717766

Please sign in to comment.