ef1a16d4a8
Currently there is tempest_test_regex that can be used to select or ignore tests, however when the list is complex it can become complex to maintain and define. For such complex scenarios is that the blacklist file exist. This patch adds support for the blacklist file in Zuul jobs. Change-Id: Ib63955446ea59d81d0d882704666dcce4a625526
42 lines
978 B
ReStructuredText
42 lines
978 B
ReStructuredText
Run Tempest
|
|
|
|
**Role Variables**
|
|
|
|
.. zuul:rolevar:: devstack_base_dir
|
|
:default: /opt/stack
|
|
|
|
The devstack base directory.
|
|
|
|
.. zuul:rolevar:: tempest_concurrency
|
|
:default: 0
|
|
|
|
The number of parallel test processes.
|
|
|
|
.. zuul:rolevar:: tempest_test_regex
|
|
:default: ''
|
|
|
|
A regular expression used to select the tests.
|
|
|
|
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_test_regex: |
|
|
(?x) # Ignore comments and whitespaces
|
|
# Line with only a comment.
|
|
(tempest\.(api|scenario|thirdparty)).*$ # Run only api scenario and third party
|
|
|
|
.. zuul:rolevar:: tempest_test_blacklist
|
|
|
|
Specifies a blacklist file to skip tests that are not needed.
|
|
|
|
Pass a full path to the file.
|
|
|
|
.. zuul:rolevar:: tox_envlist
|
|
:default: smoke
|
|
|
|
The Tempest tox environment to run.
|