Merge "Adds tempest run command with --test-list option"
This commit is contained in:
commit
f2b7619bfa
|
@ -88,6 +88,23 @@
|
|||
# don't trigger ANSIBLE0013
|
||||
- skip_ansible_lint
|
||||
|
||||
- name: Generate test-list file
|
||||
shell: |
|
||||
set -e
|
||||
if [ -d {{ tempest_venv_bin }} ];
|
||||
then
|
||||
. {{ tempest_venv_bin }}/activate
|
||||
fi
|
||||
tempest run --whitelist-file {{ tempest_test_whitelist_file_path }}{% if tempest_test_blacklist | length > 0 %} --blacklist-file {{ tempest_test_blacklist_file_path }}{% endif %} --list-tests &> {{ tempest_log_dir }}/test_list.txt
|
||||
args:
|
||||
chdir: "{{ tempest_workspace }}"
|
||||
executable: /bin/bash
|
||||
changed_when: false
|
||||
failed_when: false
|
||||
tags:
|
||||
# don't trigger ANSIBLE0013
|
||||
- skip_ansible_lint
|
||||
|
||||
- name: Fail if tempest tests did not succeed
|
||||
assert:
|
||||
that:
|
||||
|
|
Loading…
Reference in New Issue