https://gitlab.synchro.net/main/sbbs/-/commit/90227e5a4d45b2c1c232f3b6
Modified Files:
.gitlab-ci-unix.yml
Log Message:
CI: print a backtrace when jsexec crashes in the test suite
On netbsd-amd64 jsexec has ended with a segmentation fault in every run
of the test suite since the mailbox tests' store_rows.js arrived, right
after store_read.js passes, and the job log says only "core dumped".
The jsexec-testsuite job of every Unix platform now looks for a core
file in its working directory when jsexec fails (jsexec.core, core or core.<pid>, by OS) and prints "thread apply all bt" from gdb, where gdb
is installed, before failing as before. A run that passes, or fails
without a core file, behaves as it did.
The step was run by hand as a shell script with a passing program, a
failing one and a core file present; it has not run on a CI runner.
Co-Authored-By: Claude Fable 5.2 <
noreply@anthropic.com>