Add wait-for-debugger test harness hooks
commit4052fa22f69c0964bb42c0f13daa791617253de5
authorDJ Delorie <dj@redhat.com>
Wed, 2 Oct 2019 18:46:46 +0000 (2 14:46 -0400)
committerDJ Delorie <dj@redhat.com>
Thu, 24 Oct 2019 20:32:32 +0000 (24 16:32 -0400)
tree0012143bd8288b8b578b887c1f99216bf699b00e
parentacab05949fd28cdac6358f9a143cd010e08914b7
Add wait-for-debugger test harness hooks

If WAIT_FOR_DEBUGGER is set to a non-zero value in the environment,
any test that runs will print some useful gdb information and wait
for gdb to attach to it and clear the "wait_for_debugger" variable.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
support/support_test_main.c
support/test-container.c