From 4dd9340a5601a442585ac7aa404c91b9b7874875 Mon Sep 17 00:00:00 2001 From: Ricardo Branco Date: Thu, 24 Apr 2025 11:38:29 +0200 Subject: [PATCH] hack/bats: Pass --tap (-t) option to bats Signed-off-by: Ricardo Branco --- hack/bats | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hack/bats b/hack/bats index e6638e6801..35fc15f726 100755 --- a/hack/bats +++ b/hack/bats @@ -26,6 +26,8 @@ $0 is a wrapper for invoking podman system tests. --tag=TAG Passed on to bats as '--filter-tags TAG' As of 2023-07-26 the only tag used is 'distro-integration' + -t, --tap Passed on to bats, which will format output in TAP format + -T Passed on to bats, which will then show timing data --help display usage message @@ -82,6 +84,7 @@ for i;do --root) TEST_ROOTLESS= ;; --rootless) TEST_ROOT= ;; --remote) REMOTE=remote ;; + --tap|-t) bats_opts+=("-t") ;; --ts|-T) bats_opts+=("-T") ;; --tag=*) bats_filter=("--filter-tags" "$value") if [[ "$value" = "ci:parallel" ]]; then