Skip to content

Commit

Permalink
Backport test_gdb fixes for s390x buildbots
Browse files Browse the repository at this point in the history
  • Loading branch information
vstinner committed Feb 10, 2017
1 parent 4e1e30d commit 8420cd2
Showing 1 changed file with 7 additions and 17 deletions.
24 changes: 7 additions & 17 deletions Lib/test/test_gdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,27 +203,17 @@ def get_stack_trace(self, source=None, script=None,
# 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)

Expand Down

0 comments on commit 8420cd2

Please sign in to comment.