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:
Chandan Kumar 2019-04-04 13:42:04 +05:30
parent acac03ceb3
commit 8d81e1eff2
1 changed files with 2 additions and 2 deletions

View File

@ -106,9 +106,9 @@
fi
tempest run \
--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 }} \
{%- endif -%}
{% endif %}
--list-tests &> {{ tempest_log_dir }}/test_list.txt
args:
chdir: "{{ tempest_workspace }}"