This is an automated email from the ASF dual-hosted git repository.

sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git


The following commit(s) were added to refs/heads/main by this push:
     new a3a7463  Add a script to run a single test
a3a7463 is described below

commit a3a746305b2834ff1291d7b58aaeb24807cd5954
Author: Sean B. Palmer <[email protected]>
AuthorDate: Wed Dec 10 17:34:57 2025 +0000

    Add a script to run a single test
---
 tests/run-e2e-test.sh | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/tests/run-e2e-test.sh b/tests/run-e2e-test.sh
new file mode 100755
index 0000000..dda4fd8
--- /dev/null
+++ b/tests/run-e2e-test.sh
@@ -0,0 +1,18 @@
+#!/bin/sh
+set -eu
+
+cd "$(dirname "$0")"
+
+if [ -z "${1:-}" ]
+then
+  echo "Usage: $0 <test-pattern>"
+  echo "Example: $0 sbom"
+  exit 1
+fi
+
+echo "Building and running ATR e2e test: $1"
+docker compose build e2e
+docker compose up atr -d --build --wait
+docker compose run --rm e2e pytest "e2e/$1/" -v
+
+docker compose down -v


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to