[Python-checkins] cpython (3.5): Backport test_gdb fix for s390x buildbots

victor.stinner python-checkins at python.org
Tue Apr 19 18:31:55 EDT 2016


https://hg.python.org/cpython/rev/8d38e95a2e4e
changeset:   101072:8d38e95a2e4e
branch:      3.5
parent:      101069:3115b6ce1006
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Wed Apr 20 00:30:14 2016 +0200
summary:
  Backport test_gdb fix for s390x buildbots

files:
  Lib/test/test_gdb.py |  24 +++++++-----------------
  1 files changed, 7 insertions(+), 17 deletions(-)


diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py
--- a/Lib/test/test_gdb.py
+++ b/Lib/test/test_gdb.py
@@ -198,27 +198,17 @@
         # Ignore some benign messages on stderr.
         ignore_patterns = (
             'Function "%s" not defined.' % breakpoint,
-            "warning: no loadable sections found in added symbol-file"
-            " system-supplied DSO",
-            "warning: Unable to find libthread_db matching"
-            " inferior's thread library, thread debugging will"
-            " not be available.",
-            "warning: Cannot initialize thread debugging"
-            " library: Debugger service failed",
-            'warning: Could not load shared library symbols for '
-            'linux-vdso.so',
-            'warning: Could not load shared library symbols for '
-            'linux-gate.so',
-            'warning: Could not load shared library symbols for '
-            'linux-vdso64.so',
             'Do you need "set solib-search-path" or '
             '"set sysroot"?',
-            'warning: Source file is more recent than executable.',
-            # Issue #19753: missing symbols on System Z
-            'Missing separate debuginfo for ',
-            'Try: zypper install -C ',
+            # BFD: /usr/lib/debug/(...): unable to initialize decompress
+            # status for section .debug_aranges
+            'BFD: ',
+            # ignore all warnings
+            'warning: ',
             )
         for line in errlines:
+            if not line:
+                continue
             if not line.startswith(ignore_patterns):
                 unexpected_errlines.append(line)
 

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list