Skip to content

Commit

Permalink
CI: Try to catch core dumps.
Browse files Browse the repository at this point in the history
  • Loading branch information
notroj committed Aug 1, 2024
1 parent c881691 commit 6d81052
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ rm -f debug.log child.log

ulimit -c unlimited
ulimit -t 120
sysctl -w kernel.core_pattern=core

unset LANG
unset LC_MESSAGES
Expand All @@ -24,7 +25,7 @@ for f in $*; do
:
else
RETVAL=$?
echo '->' ${HARNESS} failed ${RETVAL}
echo '->' ${f} failed ${RETVAL}
if [ $RETVAL -eq 134 ]; then
gdb --eval-command='bt full' --batch ./$f core*
fi
Expand Down

0 comments on commit 6d81052

Please sign in to comment.