OSDN Git Service

tests/Makefile: allow control over tags during check-acceptance
authorWillian Rampazzo <willianr@redhat.com>
Thu, 23 Sep 2021 16:11:39 +0000 (13:11 -0300)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Mon, 27 Sep 2021 17:06:47 +0000 (19:06 +0200)
commit23022794dee93f7bc3213e42cb613c4fc78b90ec
treeb6980e714fb1deb5ed1523ad9d1852bcc8a6227a
parente519df437a1f46491f687c001fe2eab24bafe18e
tests/Makefile: allow control over tags during check-acceptance

Although it is possible to run a specific test using the avocado
command-line, a user may want to use a specific tag while running the
``make check-acceptance`` during the development or debugging.

This allows using the AVOCADO_TAGS environment variable where the user
takes total control of which tests should run based on the tags defined.

This also makes the check-acceptance command flexible to restrict tests
based on tags while running on CI.

e.g.:

AVOCADO_TAGS="foo bar baz" make check-acceptance

Signed-off-by: Willian Rampazzo <willianr@redhat.com>
Tested-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210923161141.232208-2-willianr@redhat.com>
docs/devel/testing.rst
tests/Makefile.include