summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_gdb.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-03-23 17:32:54 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-03-23 17:32:54 (GMT)
commit904f5def5cc6da106a1e2e9feb0830cdb1433519 (patch)
treedaf5bb5c69a6b072ad40aeb46dd5014796bdde66 /Lib/test/test_gdb.py
parent023654fa68c73e34da01610cad330f98d2db79cf (diff)
downloadcpython-904f5def5cc6da106a1e2e9feb0830cdb1433519.zip
cpython-904f5def5cc6da106a1e2e9feb0830cdb1433519.tar.gz
cpython-904f5def5cc6da106a1e2e9feb0830cdb1433519.tar.bz2
Try to fix test_gdb on s390x buildbots
Diffstat (limited to 'Lib/test/test_gdb.py')
-rw-r--r--Lib/test/test_gdb.py22
1 files changed, 5 insertions, 17 deletions
diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py
index 3fe15e4..8e3ccb0 100644
--- a/Lib/test/test_gdb.py
+++ b/Lib/test/test_gdb.py
@@ -199,25 +199,13 @@ 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.startswith(ignore_patterns):