diff --git a/ci/run_task.sh b/ci/run_task.sh index c901f12..05b5738 100755 --- a/ci/run_task.sh +++ b/ci/run_task.sh @@ -62,7 +62,7 @@ main() { if [ -e "$crates_script" ]; then verbose_say "Sourcing $crates_script" . "$crates_script" - for crate in "${CRATES[@]}"; do + for crate in $CRATES; do verbose_say "Found crate: $crate" done else @@ -109,7 +109,7 @@ main() { # Build and test for each crate, done with each toolchain. build_and_test() { - for crate in "${CRATES[@]}"; do + for crate in $CRATES; do local test_vars_script="$REPO_DIR/$crate/contrib/test_vars.sh" # Clean variables and also make sure they are defined. @@ -282,7 +282,7 @@ build_docs_with_stable_toolchain() { do_bench() { verbose_say "Running bench tests for: $CRATES" - for crate in "${CRATES[@]}"; do + for crate in $CRATES; do pushd "$REPO_DIR/$crate" > /dev/null # Unit tests are ignored so if there are no bench test then this will just succeed. RUSTFLAGS='--cfg=bench' cargo bench