From 71636d4191a071aa2cad811549f3f53bd5c7de46 Mon Sep 17 00:00:00 2001 From: Zelda Hessler Date: Tue, 30 Jul 2024 10:23:12 -0500 Subject: [PATCH] revert `check-aws-sdk-services` script changes --- tools/ci-scripts/check-aws-sdk-services | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/tools/ci-scripts/check-aws-sdk-services b/tools/ci-scripts/check-aws-sdk-services index 49846e334b..2c86e975e8 100755 --- a/tools/ci-scripts/check-aws-sdk-services +++ b/tools/ci-scripts/check-aws-sdk-services @@ -7,14 +7,9 @@ set -eux cd aws-sdk -# Check if the $ENABLE_SMOKETESTS environment variable is set -if [ -n "$ENABLE_SMOKETESTS" ]; then - # Invoking `cargo test` at the root directory implicitly checks for the validity - # of the top-level `Cargo.toml` - RUSTFLAGS="--cfg smoketests" cargo test --all-features -else - cargo test --all-features -fi +# Invoking `cargo test` at the root directory implicitly checks for the validity +# of the top-level `Cargo.toml` +cargo test --all-features for test_dir in tests/*; do if [ -f "${test_dir}/Cargo.toml" ]; then