Merge "Keep separed test results messages from errors"

This commit is contained in:
Zuul 2020-03-17 16:36:01 +00:00 committed by Gerrit Code Review
commit c355ccd476
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