Merge "Beautify Generate test-list file shell task"

This commit is contained in:
Zuul 2019-03-22 10:30:55 +00:00 committed by Gerrit Code Review
commit 9256048842
1 changed files with 6 additions and 1 deletions

View File

@ -104,7 +104,12 @@
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
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