Skip to content
Snippets Groups Projects
Commit c2c890ef authored by Pieter Donker's avatar Pieter Donker
Browse files

L2SDP-996: add skipp on last failure

parent 27383fe6
No related branches found
No related tags found
1 merge request!153Resolve L2SDP-996
Pipeline #65238 passed
Pipeline: sdptr

#65239

    ......@@ -380,12 +380,17 @@ else
    kill_old_procs
    logfile_nr="${LOGDIR}/result.txt"
    if [[ -n $(look_for_failed) ]]; then
    echo "PREV TEST-FAILED"
    else
    # run selected options
    # [[ -n "${flash}" ]] && flash_fw && reload_fw
    [[ -n "${flash}" ]] && reload_fw
    # [[ -n "${sdptr}" ]] && build_sdptr && restart_and_check_sdptr
    [[ -n "${sdptr}" ]] && restart_and_check_sdptr
    [[ -n "${test}" ]] && run_test
    fi
    # print build and/or run state on last rows
    if [[ -n "${sdptr}" ]]; then
    ......@@ -401,6 +406,8 @@ else
    fi
    fi
    [[ -n "${test_passed}" ]] && echo "TEST-PASSED" > "${LOGDIR}/result.txt" || echo "TEST-FAILED" > "${LOGDIR}/result.txt"
    if [[ -n "${send_mail}" ]]; then
    sdptr_exec "$0" fw_regressiontest_mail.py --logfile "${LOGFILE}"
    fi
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment