e2e: print path to logs on failure

This commit is contained in:
Tim Hockin 2023-02-10 15:06:06 -08:00
parent 950e391018
commit 759b8ebdfe
No known key found for this signature in database
1 changed files with 3 additions and 2 deletions

View File

@ -2715,7 +2715,8 @@ for t; do
# See comments on run_test for details.
RUN_RET=0
run_test RUN_RET "e2e::${t}" "${DIR}/log.$t"
LOG="${DIR}/log.$t"
run_test RUN_RET "e2e::${t}" "${LOG}.${RUN}"
if [[ "$RUN_RET" == 0 ]]; then
pass
else
@ -2729,7 +2730,7 @@ for t; do
done
if [[ "$TEST_RET" != 0 ]]; then
FINAL_RET=1
FAILS+=("$t")
FAILS+=("$t (log: ${LOG}.*)")
fi
done
if [[ "$FINAL_RET" != 0 ]]; then