Skip to content

Commit

Permalink
Allow s3-tests to specify test name argument
Browse files Browse the repository at this point in the history
This is useful to run a subset of tests.
  • Loading branch information
gaul committed Dec 23, 2024
1 parent e7347c3 commit f4c0a89
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/test/resources/run-s3-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
set -o errexit
set -o nounset

# TODO: override from the environment?
S3PROXY_CONF="${1-s3proxy.conf}"
S3PROXY_BIN="${PWD}/target/s3proxy"
S3PROXY_PORT="${S3PROXY_PORT:-8081}"
Expand Down Expand Up @@ -61,4 +62,5 @@ fi

# execute s3-tests
pushd s3-tests
tox -- -m "${tags}"
shift
tox -- -m "${tags}" $*

0 comments on commit f4c0a89

Please sign in to comment.