Keep separed test results messages from errors

Change-Id: I17bbdba20aa863b316d3ff5850eeeac885a5b4c4
changes/02/713402/8
Federico Ressi 3 years ago
parent a4ab99ba89
commit cbfb7ffbdc

@ -30,7 +30,6 @@ test_conf: {}
# Logging options
test_log_debug: true
# --- Test report options -----------------------------------------------------
# Remote directory where test cases shoulw write report files to

@ -1,13 +1,15 @@
---
- name: "Run test Tox envlist '{{ tox_envlist }}' on direcory '{{ tox_dir }}'"
- name: "run test Tox envlist '{{ tox_envlist }}' on direcory '{{ tox_dir }}'"
shell:
chdir: "{{ tox_dir }}"
cmd: |
set -x
{{ tox_command }} -e "{{ tox_envlist }}" {{ tox_extra_args }}
exit_status=$?
{{ tox_command }} -c '{{ tobiko_dir }}' -e report
{{ tox_command }} -c '{{ tobiko_dir }}' -e report 1>&2
exit "${exit_status}"
register:
run_tox

Loading…
Cancel
Save