mirror of
https://github.com/containers/podman.git
synced 2025-07-03 01:08:02 +08:00
Merge pull request #25960 from ricardobranco777/bats_tap_option
hack/bats: Pass --tap (-t) option to bats
This commit is contained in:
@ -26,6 +26,8 @@ $0 is a wrapper for invoking podman system tests.
|
|||||||
--tag=TAG Passed on to bats as '--filter-tags TAG'
|
--tag=TAG Passed on to bats as '--filter-tags TAG'
|
||||||
As of 2023-07-26 the only tag used is 'distro-integration'
|
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
|
-T Passed on to bats, which will then show timing data
|
||||||
|
|
||||||
--help display usage message
|
--help display usage message
|
||||||
@ -82,6 +84,7 @@ for i;do
|
|||||||
--root) TEST_ROOTLESS= ;;
|
--root) TEST_ROOTLESS= ;;
|
||||||
--rootless) TEST_ROOT= ;;
|
--rootless) TEST_ROOT= ;;
|
||||||
--remote) REMOTE=remote ;;
|
--remote) REMOTE=remote ;;
|
||||||
|
--tap|-t) bats_opts+=("-t") ;;
|
||||||
--ts|-T) bats_opts+=("-T") ;;
|
--ts|-T) bats_opts+=("-T") ;;
|
||||||
--tag=*) bats_filter=("--filter-tags" "$value")
|
--tag=*) bats_filter=("--filter-tags" "$value")
|
||||||
if [[ "$value" = "ci:parallel" ]]; then
|
if [[ "$value" = "ci:parallel" ]]; then
|
||||||
|
Reference in New Issue
Block a user