From f4c0a891f8e8c32a4fce12f64559f09976c83299 Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Mon, 23 Dec 2024 16:23:47 -0500 Subject: [PATCH] Allow s3-tests to specify test name argument This is useful to run a subset of tests. --- src/test/resources/run-s3-tests.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/test/resources/run-s3-tests.sh b/src/test/resources/run-s3-tests.sh index 421b14ec..2b794dfe 100755 --- a/src/test/resources/run-s3-tests.sh +++ b/src/test/resources/run-s3-tests.sh @@ -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}" @@ -61,4 +62,5 @@ fi # execute s3-tests pushd s3-tests -tox -- -m "${tags}" +shift +tox -- -m "${tags}" $*