mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-06 15:17:01 +02:00
REGTESTS: script: also add a line pointing to the log file
I never counted the number of hours I've been spending selecting then copy-pasting the directory output and manually appending "/LOG" to read a log file but it amounts in tens to hundreds. Let's just add a direct pointer to the log file at the end of the log for a failed run.
This commit is contained in:
parent
1d3ab10423
commit
16f382f2d9
@ -399,6 +399,7 @@ if [ -d "${TESTDIR}" ]; then
|
||||
cat <<- EOF | tee -a "$TESTDIR/failedtests.log"
|
||||
$(echo "###### $(cat "$i/INFO") ######")
|
||||
$(echo "## test results in: \"$i\"")
|
||||
$(echo "## test log file: $i/LOG")
|
||||
$(grep -E -- "^(----|\* diag)" "$i/LOG")
|
||||
EOF
|
||||
done' sh {} +
|
||||
|
Loading…
Reference in New Issue
Block a user