From 03ac361b11ad11ccacfd102161d15d524214570b Mon Sep 17 00:00:00 2001 From: Rob Walker Date: Wed, 17 Oct 2018 10:52:55 -0700 Subject: [PATCH] run integration tests serially --- ci/test-stable-perf.sh | 7 ++++--- ci/test-stable.sh | 5 +++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/ci/test-stable-perf.sh b/ci/test-stable-perf.sh index 8089d221bfabaa..30a2e15e4a7a71 100755 --- a/ci/test-stable-perf.sh +++ b/ci/test-stable-perf.sh @@ -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 ( diff --git a/ci/test-stable.sh b/ci/test-stable.sh index 9c8263c8e312be..8c42551b659b8c 100755 --- a/ci/test-stable.sh +++ b/ci/test-stable.sh @@ -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 (