Update README for run-tempest role

Updates README in order to clear confusion about defining
multi-line regexes.

Closes-Bug: 1827234
Change-Id: Ie55ef879b1d6c971b202553b3906d02c29b981d6
This commit is contained in:
Martin Kopec 2020-02-05 14:57:10 +00:00
parent 4b95d4b14f
commit 4af65407b1

View File

@ -20,14 +20,12 @@ Run Tempest
It works only when used with some specific tox environments
('all', 'all-plugin'.)
Multi-line and commented regexs can be achieved by doing this:
In the following example only api scenario and third party tests
will be executed.
::
vars:
tempest_test_regex: |
(?x) # Ignore comments and whitespaces
# Line with only a comment.
(tempest\.(api|scenario|thirdparty)).*$ # Run only api scenario and third party
tempest_test_regex: (tempest\.(api|scenario|thirdparty)).*$
.. zuul:rolevar:: tempest_test_blacklist
@ -48,14 +46,9 @@ Run Tempest
It works only when used with some specific tox environments
('all', 'all-plugin'.)
Multi-line and commented regexs can be achieved by doing this:
::
vars:
tempest_black_regex: |
(?x) # Ignore comments and whitespaces
# Line with only a comment.
(tempest.api.identity).*$
tempest_black_regex: (tempest.api.identity).*$
.. zuul:rolevar:: tox_extra_args
:default: ''