This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vinay.sajip, vstinner
Date 2012-01-04.03:37:26
SpamBayes Score 1.8306716e-09
Marked as misclassified No
Message-id <1325648247.71.0.208261087262.issue13699@psf.upfronthosting.co.za>
In-reply-to
Content
"test_gdb has started failing recently on my Ubuntu Natty system:
...
>>> sysconfig.get_config_vars()['PY_CFLAGS']
'-Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes'
...
Marking haypo as nosy since it might be related to recent changes for #13628."

Before my last change for #13628, test_gdb was skipped completly when Python was compiled in release mode (with gcc optimization, which is the default).

Except if you have an idea to improve python-gdb.py to make it find the frame pointer, the simple fix is to skip the failing tests if Python is optimized. I already add some @unittest.skipIf(python_is_optimized(), "Python was compiled with optimizations") in my commit 0b03cb97dac0.

Would you like to write such patch?
History
Date User Action Args
2012-01-04 03:37:27vstinnersetrecipients: + vstinner, vinay.sajip
2012-01-04 03:37:27vstinnersetmessageid: <1325648247.71.0.208261087262.issue13699@psf.upfronthosting.co.za>
2012-01-04 03:37:27vstinnerlinkissue13699 messages
2012-01-04 03:37:26vstinnercreate