TT#81700 run_tests.sh: print failed scenarios at the end

Change-Id: I2a60e52df92a4db8e648ef6ab2042aa16af424ee
mr10.0
Victor Seva 5 years ago
parent 7e515eadd4
commit 6fd4188be1

@ -415,10 +415,6 @@ rm -f "${LOG_DIR}/run_failed.txt"
for t in ${failed[*]}; do
echo "$t" >> "${LOG_DIR}/run_failed.txt"
done
if [ -f "${LOG_DIR}/run_failed.txt" ]; then
echo "$(date) - Failed scenarios:"
cat "${LOG_DIR}/run_failed.txt"
fi
if [[ "${PROV_TYPE}" == "full" ]] ; then
echo "$(date) - Delete provided scenarios"
@ -486,4 +482,8 @@ fi
cfg_debug_off
echo "$(date) - Done[${error_flag}]"
if [ -f "${LOG_DIR}/run_failed.txt" ]; then
echo "$(date) - Failed scenarios:"
cat "${LOG_DIR}/run_failed.txt"
fi
exit ${error_flag}

Loading…
Cancel
Save