Beautify Generate test-list file shell task
Currently Generate test-list file shell task is wrapped in a single long script with jinja template which makes it hard to read and it also leads to cause jinja issue, breaking it into multiple lines improves it. Change-Id: I17dd53dc583d75a3a19019ba4d7eac8be7077338
This commit is contained in:
parent
8794a6641b
commit
abb16c921d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue