diff --git a/ci/test-stable-perf.sh b/ci/test-stable-perf.sh index 8089d221b..f0c173120 100755 --- a/ci/test-stable-perf.sh +++ b/ci/test-stable-perf.sh @@ -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 ( diff --git a/ci/test-stable.sh b/ci/test-stable.sh index 9c8263c8e..df611ce38 100755 --- a/ci/test-stable.sh +++ b/ci/test-stable.sh @@ -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 (