b7580a
--- Lib/test/test_gdb.py.old	2012-04-11 21:04:01.367073855 -0400
b7580a
+++ Lib/test/test_gdb.py	2012-04-12 08:52:58.320288761 -0400
b7580a
@@ -96,6 +96,15 @@ class DebuggerTests(unittest.TestCase):
b7580a
         # Generate a list of commands in gdb's language:
b7580a
         commands = ['set breakpoint pending yes',
b7580a
                     'break %s' % breakpoint,
b7580a
+
b7580a
+                    # GDB as of Fedora 17 onwards can distinguish between the
b7580a
+                    # value of a variable at entry vs current value:
b7580a
+                    #   http://sourceware.org/gdb/onlinedocs/gdb/Variables.html
b7580a
+                    # which leads to the selftests failing with errors like this:
b7580a
+                    #   AssertionError: 'v@entry=()' != '()'
b7580a
+                    # Disable this:
b7580a
+                    'set print entry-values no',
b7580a
+
b7580a
                     'run']
b7580a
         if cmds_after_breakpoint:
b7580a
             commands += cmds_after_breakpoint
b7580a
--- Lib/test/test_gdb.py.old	2012-04-11 21:04:01.367073855 -0400
b7580a
+++ Lib/test/test_gdb.py	2012-04-12 08:52:58.320288761 -0400
b7580a
@@ -144,6 +153,10 @@
b7580a
             'Do you need "set solib-search-path" or '
b7580a
             '"set sysroot"?',
b7580a
             )
b7580a
+        ignore_patterns += ('warning: Unable to open',
b7580a
+                            'Missing separate debuginfo for',
b7580a
+                            'Try: yum --disablerepo=',
b7580a
+                            'Undefined set print command')
b7580a
         for line in errlines:
b7580a
             if not line.startswith(ignore_patterns):
b7580a
                 unexpected_errlines.append(line)