Message150581
| 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:27 | vstinner | set | recipients:
+ vstinner, vinay.sajip |
| 2012年01月04日 03:37:27 | vstinner | set | messageid: <1325648247.71.0.208261087262.issue13699@psf.upfronthosting.co.za> |
| 2012年01月04日 03:37:27 | vstinner | link | issue13699 messages |
| 2012年01月04日 03:37:26 | vstinner | create |
|