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 xiang.zhang
Recipients xiang.zhang
Date 2016-09-06.07:01:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473145270.93.0.694840839391.issue27969@psf.upfronthosting.co.za>
In-reply-to
Content
Right now, when running test_gdb generates following message:

./python -m test test_gdb
Run tests sequentially
0:00:00 [1/1] test_gdb
*Python Exception <type 'exceptions.ImportError'> No module named gdb: 
*gdb: warning: 
*Could not load the Python gdb module from `/usr/local/share/gdb/python'.
*Limited Python support is available from the _gdb module.
*Suggest passing --data-directory=/path/to/gdb/data-directory.

test_gdb skipped -- Unable to parse output from gdb.Frame.select test
test_gdb skipped

1 test skipped:
    test_gdb

Total duration: 166 ms
Tests result: SUCCESS

The messages prefixed * are messages generated by invoked gdb command and I think they are not needed to prompt to users.

test_gdb.patch tries to suppress them. After applied, the messages cleaner.

./python -m test test_gdb
Run tests sequentially
0:00:00 [1/1] test_gdb
test_gdb skipped -- Unable to parse output from gdb.Frame.select test
test_gdb skipped

1 test skipped:
    test_gdb

Total duration: 159 ms
Tests result: SUCCESS
History
Date User Action Args
2016-09-06 07:01:10xiang.zhangsetrecipients: + xiang.zhang
2016-09-06 07:01:10xiang.zhangsetmessageid: <1473145270.93.0.694840839391.issue27969@psf.upfronthosting.co.za>
2016-09-06 07:01:10xiang.zhanglinkissue27969 messages
2016-09-06 07:01:10xiang.zhangcreate