== CPython 2.7b1+ (trunk:79985M, Apr 12 2010, 07:16:24) [GCC 4.4.3 20100108 (prerelease)] == Linux-2.6.32-3-amd64-x86_64-with-debian-squeeze-sid == /home/martin/work/27/build/test_python_6961 test_gdb test_NULL_instance_dict (test.test_gdb.PrettyPrintTests) Ensure that a PyInstanceObject with with a NULL in_dict is handled ... ok test_NULL_ob_type (test.test_gdb.PrettyPrintTests) Ensure that a PyObject* with NULL ob_type is handled gracefully ... ok test_NULL_ptr (test.test_gdb.PrettyPrintTests) Ensure that a NULL PyObject* is handled gracefully ... ok test_builtin_function (test.test_gdb.PrettyPrintTests) ... ok test_builtin_method (test.test_gdb.PrettyPrintTests) ... ok test_builtins_help (test.test_gdb.PrettyPrintTests) Ensure that the new-style class _Helper in site.py can be handled ... ok test_classic_class (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of classic class instances ... ok test_corrupt_ob_type (test.test_gdb.PrettyPrintTests) Ensure that a PyObject* with a corrupt ob_type is handled gracefully ... ok test_corrupt_tp_flags (test.test_gdb.PrettyPrintTests) Ensure that a PyObject* with a type with corrupt tp_flags is handled ... ok test_corrupt_tp_name (test.test_gdb.PrettyPrintTests) Ensure that a PyObject* with a type with corrupt tp_name is handled ... ok test_dicts (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of dictionaries ... ok test_exceptions (test.test_gdb.PrettyPrintTests) ... ok test_frames (test.test_gdb.PrettyPrintTests) ... ok test_frozensets (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of frozensets ... ok test_getting_backtrace (test.test_gdb.PrettyPrintTests) ... ok test_int (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of various "int" values ... ok test_lists (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of lists ... ok test_long (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of various "long" values ... ok test_modern_class (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of new-style class instances ... ok test_selfreferential_dict (test.test_gdb.PrettyPrintTests) Ensure that a reference loop involving a dict doesn't lead proxyval ... ok test_selfreferential_list (test.test_gdb.PrettyPrintTests) Ensure that a reference loop involving a list doesn't lead proxyval ... ok test_selfreferential_new_style_instance (test.test_gdb.PrettyPrintTests) ... ok test_selfreferential_old_style_instance (test.test_gdb.PrettyPrintTests) ... ok test_sets (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of sets ... ok test_singletons (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of True, False and None ... ok test_strings (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of strings ... ok test_subclassing_list (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of an instance of a list subclass ... ok test_subclassing_tuple (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of an instance of a tuple subclass ... ok test_truncation (test.test_gdb.PrettyPrintTests) Verify that very long output is truncated ... ok test_tuples (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of tuples ... ok test_unicode (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of unicode values ... ok test_basic_command (test.test_gdb.PyListTests) Verify that the "py-list" command works ... FAIL test_one_abs_arg (test.test_gdb.PyListTests) Verify the "py-list" command with one absolute argument ... FAIL test_two_abs_args (test.test_gdb.PyListTests) Verify the "py-list" command with two absolute arguments ... FAIL test_down_at_bottom (test.test_gdb.StackNavigationTests) Verify handling of "py-down" at the bottom of the stack ... skipped 'test requires py-up/py-down commands' test_pyup_command (test.test_gdb.StackNavigationTests) Verify that the "py-up" command works ... skipped 'test requires py-up/py-down commands' test_up_at_top (test.test_gdb.StackNavigationTests) Verify handling of "py-up" at the top of the stack ... skipped 'test requires py-up/py-down commands' test_up_then_down (test.test_gdb.StackNavigationTests) Verify "py-up" followed by "py-down" ... skipped 'test requires py-up/py-down commands' test_basic_command (test.test_gdb.PyBtTests) Verify that the "py-bt" command works ... FAIL test_basic_command (test.test_gdb.PyPrintTests) Verify that the "py-print" command works ... FAIL test_print_after_up (test.test_gdb.PyPrintTests) ... skipped 'test requires py-up/py-down commands' test_printing_builtin (test.test_gdb.PyPrintTests) ... FAIL test_printing_global (test.test_gdb.PyPrintTests) ... FAIL test_basic_command (test.test_gdb.PyLocalsTests) ... FAIL test_locals_after_up (test.test_gdb.PyLocalsTests) ... skipped 'test requires py-up/py-down commands' ====================================================================== FAIL: test_basic_command (test.test_gdb.PyListTests) Verify that the "py-list" command works ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/martin/work/27/Lib/test/test_gdb.py", line 551, in test_basic_command cmds_after_breakpoint=['py-list']) File "/home/martin/work/27/Lib/test/test_gdb.py", line 124, in get_stack_trace self.assertEquals(err, '') AssertionError: "Error occurred in Python command: 'gdb.Frame' object has no attribute 'function'\n" != '' ====================================================================== FAIL: test_one_abs_arg (test.test_gdb.PyListTests) Verify the "py-list" command with one absolute argument ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/martin/work/27/Lib/test/test_gdb.py", line 566, in test_one_abs_arg cmds_after_breakpoint=['py-list 9']) File "/home/martin/work/27/Lib/test/test_gdb.py", line 124, in get_stack_trace self.assertEquals(err, '') AssertionError: "Error occurred in Python command: 'gdb.Frame' object has no attribute 'function'\n" != '' ====================================================================== FAIL: test_two_abs_args (test.test_gdb.PyListTests) Verify the "py-list" command with two absolute arguments ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/martin/work/27/Lib/test/test_gdb.py", line 577, in test_two_abs_args cmds_after_breakpoint=['py-list 1,3']) File "/home/martin/work/27/Lib/test/test_gdb.py", line 124, in get_stack_trace self.assertEquals(err, '') AssertionError: "Error occurred in Python command: 'gdb.Frame' object has no attribute 'function'\n" != '' ====================================================================== FAIL: test_basic_command (test.test_gdb.PyBtTests) Verify that the "py-bt" command works ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/martin/work/27/Lib/test/test_gdb.py", line 629, in test_basic_command cmds_after_breakpoint=['py-bt']) File "/home/martin/work/27/Lib/test/test_gdb.py", line 124, in get_stack_trace self.assertEquals(err, '') AssertionError: "Error occurred in Python command: 'gdb.Frame' object has no attribute 'function'\n" != '' ====================================================================== FAIL: test_basic_command (test.test_gdb.PyPrintTests) Verify that the "py-print" command works ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/martin/work/27/Lib/test/test_gdb.py", line 644, in test_basic_command cmds_after_breakpoint=['py-print args']) File "/home/martin/work/27/Lib/test/test_gdb.py", line 124, in get_stack_trace self.assertEquals(err, '') AssertionError: "Error occurred in Python command: 'gdb.Frame' object has no attribute 'function'\n" != '' ====================================================================== FAIL: test_printing_builtin (test.test_gdb.PyPrintTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/martin/work/27/Lib/test/test_gdb.py", line 663, in test_printing_builtin cmds_after_breakpoint=['py-print len']) File "/home/martin/work/27/Lib/test/test_gdb.py", line 124, in get_stack_trace self.assertEquals(err, '') AssertionError: "Error occurred in Python command: 'gdb.Frame' object has no attribute 'function'\n" != '' ====================================================================== FAIL: test_printing_global (test.test_gdb.PyPrintTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/martin/work/27/Lib/test/test_gdb.py", line 657, in test_printing_global cmds_after_breakpoint=['py-print __name__']) File "/home/martin/work/27/Lib/test/test_gdb.py", line 124, in get_stack_trace self.assertEquals(err, '') AssertionError: "Error occurred in Python command: 'gdb.Frame' object has no attribute 'function'\n" != '' ====================================================================== FAIL: test_basic_command (test.test_gdb.PyLocalsTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/martin/work/27/Lib/test/test_gdb.py", line 670, in test_basic_command cmds_after_breakpoint=['py-locals']) File "/home/martin/work/27/Lib/test/test_gdb.py", line 124, in get_stack_trace self.assertEquals(err, '') AssertionError: "Error occurred in Python command: 'gdb.Frame' object has no attribute 'function'\n" != '' ---------------------------------------------------------------------- Ran 45 tests in 5.893s FAILED (failures=8, skipped=6) test test_gdb failed -- multiple errors occurred 1 test failed: test_gdb