From b064bba552e38e08a69a91424247ae67de493345 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 23 Dec 2016 15:13:28 +0100 Subject: scripts/test_printers_common.py: Log GDB error message If GDB prints an error message for a "python" command, include that error message in the test log output, to simplify diagnosing GDB/Python detection issues. --- scripts/test_printers_common.py | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/test_printers_common.py') diff --git a/scripts/test_printers_common.py b/scripts/test_printers_common.py index c79d7e3be2..c605a3c00a 100644 --- a/scripts/test_printers_common.py +++ b/scripts/test_printers_common.py @@ -87,6 +87,7 @@ try: if gdb_python_error: print('gdb must have python support to test the pretty printers.') + print('gdb output: {!r}'.format(gdb_python_error)) exit(UNSUPPORTED) # If everything's ok, spawn the gdb process we'll use for testing. -- cgit v1.2.3-70-g09d2