Skip to content

Commit 1bf4049

Browse files
committed
update
1 parent 8680aaf commit 1bf4049

File tree

6 files changed

+7
-718359
lines changed

6 files changed

+7
-718359
lines changed

tools/scripts/aws_sdk_2025-08-22-16.log

Lines changed: 0 additions & 41799 deletions
This file was deleted.

tools/scripts/aws_sdk_2025-08-22-17.log

Lines changed: 0 additions & 266774 deletions
This file was deleted.

tools/scripts/aws_sdk_2025-08-22-18.log

Lines changed: 0 additions & 103229 deletions
This file was deleted.

tools/scripts/aws_sdk_2025-08-22-19.log

Lines changed: 0 additions & 306552 deletions
This file was deleted.

tools/scripts/build-tests/run-al2-smoke-tests.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ if [ -z "$CODEBUILD_SRC_DIR" ]; then
1616
fi
1717

1818
echo "Contents of CODEBUILD_SRC_DIR: ${CODEBUILD_SRC_DIR}"
19+
export AWS_SMOKE_TEST_SERVICE_IDS=$(cat $CODEBUILD_SRC_DIR/feature-service-id.json | sed 's/[^:]*:"\\([^"]*\\)"/\\1,/g' | sed 's/,}$//')
20+
ls -la
1921
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${CODEBUILD_SRC_DIR}/al2-install/lib64/"
2022
cd "${CODEBUILD_SRC_DIR}/al2-build"
2123
python3 "../aws-sdk-cpp/tools/scripts/run_smoke_tests_simple.py" --testDir "${CODEBUILD_SRC_DIR}/al2-build" | tee -a results.txt

tools/scripts/run_smoke_tests_simple.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
BOLD = '\033[1m'
1111
RESET = '\033[0m'
1212

13-
def should_run_service(service):
13+
def should_run_service(services):
1414
service_ids = os.environ.get('AWS_SMOKE_TEST_SERVICE_IDS', '')
1515
print("AWS_SMOKE_TEST_SERVICE_IDS:",service_ids)
1616
if not service_ids:
17-
return True
17+
return services
1818
allowed_services = service_ids.split(',')
19-
return service in allowed_services
19+
return [service for service in services if service in allowed_services]
2020

2121
def main():
2222
parser = argparse.ArgumentParser(description='Run smoke tests')
@@ -41,9 +41,9 @@ def main():
4141
total_tests = 0
4242
all_results = defaultdict(list)
4343

44+
services=should_run_service(services)
45+
4446
for service in services:
45-
if not should_run_service(service):
46-
continue
4747
executable = os.path.join(smoke_tests_dir, service, f"{service}-smoke-tests")
4848

4949
with tempfile.NamedTemporaryFile(mode='w+', suffix='.json', delete=False) as temp_file:

0 commit comments

Comments
 (0)