[issue26788] test_gdb fails all tests on a profile-opt build configured --with-lto

STINNER Victor report at bugs.python.org
Fri Feb 17 05:07:29 EST 2017


STINNER Victor added the comment:

+ at unittest.skipIf(python_is_optimized(),
+                 "Python was compiled with optimizations")
 class PrettyPrintTests(DebuggerTests):

I disagree with this skip. I just compiled Python with "./configure" and GCC: these tests pass. Except of one buildbot, PGO is not used on buildbots nor Travis CI. I would prefer to keep running these tests by default, but only skip on PGO build.

By the way, would it maybe possible to find the missing information "<optimized out>" from other variables?

----------
nosy: +haypo

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26788>
_______________________________________


More information about the Python-bugs-list mailing list