Fix Generate test-list file task
Currently in Generate test-list file task, shell script used to generate test-list gets cancatnates with the whitelist-file options leading to saying whitelist file not found. Removing - from jinja conditionals fixes the issue Change-Id: I05f08cfbaca4d030d20079f22080340d6e1c7239 Signed-off-by: Chandan Kumar <chkumar@redhat.com>
This commit is contained in:
parent
acac03ceb3
commit
8d81e1eff2
@ -106,9 +106,9 @@
|
|||||||
fi
|
fi
|
||||||
tempest run \
|
tempest run \
|
||||||
--whitelist-file {{ tempest_test_whitelist_file_path }} \
|
--whitelist-file {{ tempest_test_whitelist_file_path }} \
|
||||||
{%- if tempest_test_blacklist | length > 0 -%}
|
{% if tempest_test_blacklist | length > 0 %}
|
||||||
--blacklist-file {{ tempest_test_blacklist_file_path }} \
|
--blacklist-file {{ tempest_test_blacklist_file_path }} \
|
||||||
{%- endif -%}
|
{% endif %}
|
||||||
--list-tests &> {{ tempest_log_dir }}/test_list.txt
|
--list-tests &> {{ tempest_log_dir }}/test_list.txt
|
||||||
args:
|
args:
|
||||||
chdir: "{{ tempest_workspace }}"
|
chdir: "{{ tempest_workspace }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user