Skip to content
This repository has been archived by the owner on Jan 13, 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 03ac361
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
7 changes: 4 additions & 3 deletions ci/test-stable-perf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ _() {
}

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 $(find tests -type f -a -name '*.rs' -printf '%f '); do
_ cargo test --verbose --jobs=1 --features="$FEATURES" --test="${test%.rs}"
done

echo --- ci/localnet-sanity.sh
(
Expand Down
5 changes: 3 additions & 2 deletions ci/test-stable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ _ 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 $(find tests -type f -a -name '*.rs' -printf '%f '); do
_ cargo test --verbose --jobs=1 --test="${test%.rs}"
done

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

0 comments on commit 03ac361

Please sign in to comment.