Skip to content

Commit

Permalink
Make it easier to run the SDK integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jdisanti committed Oct 6, 2023
1 parent 96069d1 commit b02239a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
6 changes: 6 additions & 0 deletions aws/sdk/integration-tests/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
all: test

test:
./test.sh

.PHONY: all test
16 changes: 16 additions & 0 deletions aws/sdk/integration-tests/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash
#
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
#

set -eu -o pipefail

for f in *; do
if [[ -f "${f}/Cargo.toml" ]]; then
echo
echo "Testing ${f}..."
echo "###############"
cargo test --manifest-path "${f}/Cargo.toml"
fi
done

0 comments on commit b02239a

Please sign in to comment.