Skip to content

Commit 83d989f

Browse files
Merge pull request #25960 from ricardobranco777/bats_tap_option
hack/bats: Pass --tap (-t) option to bats
2 parents 5a823e3 + 4dd9340 commit 83d989f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hack/bats

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ $0 is a wrapper for invoking podman system tests.
2626
--tag=TAG Passed on to bats as '--filter-tags TAG'
2727
As of 2023-07-26 the only tag used is 'distro-integration'
2828
29+
-t, --tap Passed on to bats, which will format output in TAP format
30+
2931
-T Passed on to bats, which will then show timing data
3032
3133
--help display usage message
@@ -82,6 +84,7 @@ for i;do
8284
--root) TEST_ROOTLESS= ;;
8385
--rootless) TEST_ROOT= ;;
8486
--remote) REMOTE=remote ;;
87+
--tap|-t) bats_opts+=("-t") ;;
8588
--ts|-T) bats_opts+=("-T") ;;
8689
--tag=*) bats_filter=("--filter-tags" "$value")
8790
if [[ "$value" = "ci:parallel" ]]; then

0 commit comments

Comments
 (0)