Keep separed test results messages from errors

Change-Id: I17bbdba20aa863b316d3ff5850eeeac885a5b4c4
This commit is contained in:
Federico Ressi 2020-03-17 12:08:24 +01:00
parent a4ab99ba89
commit cbfb7ffbdc
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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