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 # Logging options
test_log_debug: true test_log_debug: true
# --- Test report options ----------------------------------------------------- # --- Test report options -----------------------------------------------------
# Remote directory where test cases shoulw write report files to # 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: shell:
chdir: "{{ tox_dir }}" chdir: "{{ tox_dir }}"
cmd: | cmd: |
set -x set -x
{{ tox_command }} -e "{{ tox_envlist }}" {{ tox_extra_args }} {{ tox_command }} -e "{{ tox_envlist }}" {{ tox_extra_args }}
exit_status=$? exit_status=$?
{{ tox_command }} -c '{{ tobiko_dir }}' -e report
{{ tox_command }} -c '{{ tobiko_dir }}' -e report 1>&2
exit "${exit_status}" exit "${exit_status}"
register: register:
run_tox run_tox