File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -230,6 +230,12 @@ jobs:
230230 run : |
231231 find . -name regression.diffs -exec cat {} + > regression.log
232232
233+ # TAP tests do not produce regression.diffs; their output goes to the
234+ # prove logs. Append the log of each TAP test prove reported as failed.
235+ for t in $(grep -hoE 't/[^ ]+\.pl \(Wstat' installcheck.log 2>/dev/null | sed -E 's#t/(.+)\.pl.*#\1#'); do
236+ find . -name "regress_log_$t" -exec cat {} + >> regression.log
237+ done
238+
233239 if [[ -s regression.log ]]; then echo "regression_diff=true" >>$GITHUB_OUTPUT; fi
234240 grep -e 'FAILED' -e 'failed (ignored)' -e 'not ok' installcheck.log || true
235241 cat regression.log
Original file line number Diff line number Diff line change @@ -267,6 +267,12 @@ jobs:
267267 run : |
268268 find . -name regression.diffs -exec cat {} + > regression.log
269269
270+ # TAP tests do not produce regression.diffs; their output goes to the
271+ # prove logs. Append the log of each TAP test prove reported as failed.
272+ for t in $(grep -hoE 't/[^ ]+\.pl \(Wstat' installcheck.log 2>/dev/null | sed -E 's#t/(.+)\.pl.*#\1#'); do
273+ find . -name "regress_log_$t" -exec cat {} + >> regression.log
274+ done
275+
270276 if [[ "${{ runner.os }}" == "Linux" ]] ; then
271277 # wait in case there are in-progress coredumps
272278 sleep 10
Original file line number Diff line number Diff line change @@ -174,6 +174,11 @@ jobs:
174174 id : collectlogs
175175 run : |
176176 find . -name regression.diffs -exec cat {} + > regression.log
177+ # TAP tests do not produce regression.diffs; their output goes to the
178+ # prove logs. Append the log of each TAP test prove reported as failed.
179+ for t in $(grep -hoE 't/[^ ]+\.pl \(Wstat' installcheck.log 2>/dev/null | sed -E 's#t/(.+)\.pl.*#\1#'); do
180+ find . -name "regress_log_$t" -exec cat {} + >> regression.log
181+ done
177182 if [[ "${{ runner.os }}" == "Linux" ]] ; then
178183 # wait in case there are in-progress coredumps
179184 sleep 10
You can’t perform that action at this time.
0 commit comments