Files
systemd/tools
Daan De Meyer 64725b1c68 tools: add a test wrapper that replays crashing tests under gdb
meson test --wrapper hook to print a gdb backtrace inline in the test
log when a test exits with an actual crash signal (SIGSEGV, SIGABRT,
SIGBUS, SIGFPE, SIGILL). Wired into the default add_test_setup() so it
runs automatically on every `meson test`.

Environmental terminations (SIGTERM/SIGKILL/SIGPIPE/SIGALRM) are passed
through without replay, and the original signal is re-raised so the
parent's wait() observes WIFSIGNALED rather than a plain exit code.

(cherry picked from commit b8b2316b0a)
(cherry picked from commit b1449f8f5d)
(cherry picked from commit 91cc017c14)
2026-05-27 15:29:28 +01:00
..
2025-07-16 14:57:30 +02:00
2023-12-25 10:40:40 +01:00
2023-11-15 15:21:26 +01:00