mirror of
https://sourceware.org/git/glibc.git
synced 2025-06-13 19:21:36 +03:00
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.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2016-12-23 Florian Weimer <fweimer@redhat.com>
|
||||||
|
|
||||||
|
* scripts/test_printers_common.py: Log GDB output in case of
|
||||||
|
Python detection failure.
|
||||||
|
|
||||||
2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
|
2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
|
||||||
|
|
||||||
* configure.ac: Check for python3 or python.
|
* configure.ac: Check for python3 or python.
|
||||||
|
@ -87,6 +87,7 @@ try:
|
|||||||
|
|
||||||
if gdb_python_error:
|
if gdb_python_error:
|
||||||
print('gdb must have python support to test the pretty printers.')
|
print('gdb must have python support to test the pretty printers.')
|
||||||
|
print('gdb output: {!r}'.format(gdb_python_error))
|
||||||
exit(UNSUPPORTED)
|
exit(UNSUPPORTED)
|
||||||
|
|
||||||
# If everything's ok, spawn the gdb process we'll use for testing.
|
# If everything's ok, spawn the gdb process we'll use for testing.
|
||||||
|
Reference in New Issue
Block a user