tests: Skip assert-msg-test.py if gdb is non-functional

Some of the CI runners disable ptrace, as they’re running inside a container and ptrace would allow container escape. On those systems, gdb can’t work, so skip the gdb test.

Add some additional stderr debug output to make it clear that’s the case.

Signed-off-by: Philip Withnall pwithnall@endlessos.org

Merge request reports