Backport test_gdb fix for s390x buildbots
This commit is contained in:
parent
b5d164cc3f
commit
0d88c65231
@ -198,27 +198,17 @@ class DebuggerTests(unittest.TestCase):
|
|||||||
# Ignore some benign messages on stderr.
|
# Ignore some benign messages on stderr.
|
||||||
ignore_patterns = (
|
ignore_patterns = (
|
||||||
'Function "%s" not defined.' % breakpoint,
|
'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 '
|
'Do you need "set solib-search-path" or '
|
||||||
'"set sysroot"?',
|
'"set sysroot"?',
|
||||||
'warning: Source file is more recent than executable.',
|
# BFD: /usr/lib/debug/(...): unable to initialize decompress
|
||||||
# Issue #19753: missing symbols on System Z
|
# status for section .debug_aranges
|
||||||
'Missing separate debuginfo for ',
|
'BFD: ',
|
||||||
'Try: zypper install -C ',
|
# ignore all warnings
|
||||||
|
'warning: ',
|
||||||
)
|
)
|
||||||
for line in errlines:
|
for line in errlines:
|
||||||
|
if not line:
|
||||||
|
continue
|
||||||
if not line.startswith(ignore_patterns):
|
if not line.startswith(ignore_patterns):
|
||||||
unexpected_errlines.append(line)
|
unexpected_errlines.append(line)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user