diff --git a/test/ci-runtests.sh b/test/ci-runtests.sh index b4f79b0f7d1f..cfccf33d881b 100755 --- a/test/ci-runtests.sh +++ b/test/ci-runtests.sh @@ -187,7 +187,7 @@ function download_e2e_executable { local url="${package_repo}/$version/additional-files/$filename" echo "Downloading e2e executable for $version ($os) from $url" - mkdir $PACKAGES_DIR + mkdir -p $PACKAGES_DIR if [[ ! -f "$PACKAGES_DIR/$filename" ]]; then curl -sf -o "$PACKAGES_DIR/$filename" $url fi @@ -229,13 +229,13 @@ echo "**********************************" # find "$PACKAGES_DIR/" -type f ! \( -name "*${OLD_APP_VERSION}_*" -o -name "*${OLD_APP_VERSION}.*" -o -name "*${NEW_APP_VERSION}*" \) -delete || true function build_test_runner { - local targets=() + local target="" if [[ "${TEST_OS}" =~ "debian"|"ubuntu"|"fedora" ]]; then - targets+=("x86_64-unknown-linux-gnu") + target="x86_64-unknown-linux-gnu" elif [[ "${TEST_OS}" =~ "windows" ]]; then - targets+=("x86_64-pc-windows-gnu") + target="x86_64-pc-windows-gnu" elif [[ "${TEST_OS}" =~ "macos" ]]; then - targets+=("aarch64-apple-darwin") + target="aarch64-apple-darwin" fi TARGET=$target ./build.sh }