From: Victor Stinner Date: Fri, 10 Feb 2017 13:14:04 +0000 (+0100) Subject: Backport test_gdb fixes for s390x buildbots X-Git-Tag: v2.7.14rc1~278 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8420cd29053106f97b7d27dcc288882ffea3c1c5;p=python Backport test_gdb fixes for s390x buildbots --- diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py index 38e570f4bf..dce3c5cdc7 100644 --- a/Lib/test/test_gdb.py +++ b/Lib/test/test_gdb.py @@ -203,27 +203,17 @@ class DebuggerTests(unittest.TestCase): # 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)