[issue37382] Improve conditional check for test_gdb

Jeroen Demeyer report at bugs.python.org
Wed Jun 26 07:31:27 EDT 2019


Jeroen Demeyer <J.Demeyer at UGent.be> added the comment:

> Depending on the compiler optimization level, gdb may or may not br able to read variables and function arguments.

I haven't seen that problem. As I said, all GDB tests pass when compiled with "-O3 -g".

> IHMO it is fine to skip test_gdb if Python "is optimized".

The fact that these GDB tests are not run in any CI build is bad. For example, we had a buildbot failure after merging PEP 590 because of this. We should try to catch test breakage as early as possible, the buildbot should be the last resort.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37382>
_______________________________________


More information about the Python-bugs-list mailing list